diff options
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index b5ca05e04..dd8da46f3 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -151,7 +151,7 @@ #ifdef ADVGCC #define const2 const #if GCC_VERSION >= 60000 -#define PRAGMA6(str) _Pragma(str) +#define PRAGMA6(str) _Pragma(#str) #else // GCC_VERSION > 60000 #define PRAGMA6(str) #endif // GCC_VERSION > 60000 @@ -162,7 +162,7 @@ #ifdef __GNUC__ #if GCC_VERSION > 40500 -#define PRAGMA45(str) _Pragma(str) +#define PRAGMA45(str) _Pragma(#str) #else // GCC_VERSION > 40400 #define PRAGMA45(str) #endif // GCC_VERSION > 40400 |