summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 173f054b306..a150bb42928 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -433,7 +433,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