From bde5116b512afaed75a539250d491a0bc0f7002d Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 2 Oct 2006 13:46:40 +0200 Subject: Fix __attribute__(A) macro (it formerly used bogus __cplusplus__ symbol) --- include/my_global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.1