My goal is to create a macro to byte pack data structures for portability between MSVC. In order to use the gcc packed attribute the ARM compiler must have the -gcc extensions enabled.
Is there a define I can test to determine if gcc extensions have been enabled?
I tried the following without success.
#ifdef GCC
#endif
Thanks in advance,