summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/my_global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 906858614f6..2532be25fc1 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -473,7 +473,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