summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorunknown <tsmith/tim@siva.hindu.god>2006-09-30 02:00:04 -0600
committerunknown <tsmith/tim@siva.hindu.god>2006-09-30 02:00:04 -0600
commit38a15a315100273765a9402e5ec18e334695ee8a (patch)
tree1641c53c15ea3258035e55948705367771904e2c /include/my_global.h
parent343fa9005edd3d1cd9cb0e2901f007c3bb6b4dbb (diff)
downloadmariadb-git-38a15a315100273765a9402e5ec18e334695ee8a.tar.gz
Fix __attribute__(A) macro (it formerly used bogus __cplusplus__ symbol)
include/my_global.h: Change __cplusplus__ to __cplusplus in #define __attribute__(A) macro
Diffstat (limited to 'include/my_global.h')
-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