summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-05 17:10:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-05 17:27:52 +0300
commit3ac81fa84a3d1866c74ccb051c0661329bff774e (patch)
tree4226baddf64a667a2f2d77d445b894fe7bb29578 /src/localconsts.h
parent011d05e7ff9abfc6052951fee954b1c193ea4fff (diff)
downloadmanaverse-3ac81fa84a3d1866c74ccb051c0661329bff774e.tar.gz
manaverse-3ac81fa84a3d1866c74ccb051c0661329bff774e.tar.bz2
manaverse-3ac81fa84a3d1866c74ccb051c0661329bff774e.tar.xz
manaverse-3ac81fa84a3d1866c74ccb051c0661329bff774e.zip
Remove quotes from pragmas.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h4
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