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

parent 1dc026f7
...@@ -433,7 +433,7 @@ typedef unsigned short ushort; ...@@ -433,7 +433,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