summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-10-02 13:46:40 +0200
committerunknown <msvensson@neptunus.(none)>2006-10-02 13:46:40 +0200
commitbde5116b512afaed75a539250d491a0bc0f7002d (patch)
treecec2be5562fac169341e0b4e4e155a6e8d225daa /include
parentb85d80345820b7eab149d9d4f539a915c0078b4b (diff)
downloadmariadb-git-bde5116b512afaed75a539250d491a0bc0f7002d.tar.gz
Fix __attribute__(A) macro (it formerly used bogus __cplusplus__ symbol)
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