Commit 38a15a31 authored by unknown's avatar unknown

Fix __attribute__(A) macro (it formerly used bogus __cplusplus__ symbol)


include/my_global.h:
  Change __cplusplus__ to __cplusplus in #define __attribute__(A) macro
parent 343fa900
...@@ -473,7 +473,7 @@ typedef unsigned short ushort; ...@@ -473,7 +473,7 @@ typedef unsigned short ushort;
# define __attribute__(A) # define __attribute__(A)
# elif GCC_VERSION < 2008 # elif GCC_VERSION < 2008
# define __attribute__(A) # define __attribute__(A)
# elif defined(__cplusplus__) && GCC_VERSION < 3004 # elif defined(__cplusplus) && GCC_VERSION < 3004
# define __attribute__(A) # define __attribute__(A)
# endif # endif
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment