diff options
author | unknown <msvensson@neptunus.(none)> | 2006-10-02 13:46:40 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-10-02 13:46:40 +0200 |
commit | bde5116b512afaed75a539250d491a0bc0f7002d (patch) | |
tree | cec2be5562fac169341e0b4e4e155a6e8d225daa /include | |
parent | b85d80345820b7eab149d9d4f539a915c0078b4b (diff) | |
download | mariadb-git-bde5116b512afaed75a539250d491a0bc0f7002d.tar.gz |
Fix __attribute__(A) macro (it formerly used bogus __cplusplus__ symbol)
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 2 |
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 |