compiler/ecc: Added generated macro in proper place for GNUC to fix __declspec errors on Linux