From 3ac81fa84a3d1866c74ccb051c0661329bff774e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Apr 2016 17:10:59 +0300 Subject: Remove quotes from pragmas. --- src/localconsts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/localconsts.h') 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 -- cgit v1.2.3-60-g2f50