diff --git a/include/my_global.h b/include/my_global.h index 4aa70c244d9..404c413f777 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -565,7 +565,7 @@ typedef unsigned short ushort; # define __attribute__(A) # elif GCC_VERSION < 2008 # define __attribute__(A) -# elif defined(__cplusplus__) && GCC_VERSION < 3004 +# elif defined(__cplusplus) && GCC_VERSION < 3004 # define __attribute__(A) # endif #endif