summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-30 15:43:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-30 15:43:10 +0300
commit61adaf9555e0e730f5ac1e8996923c0abe7f5782 (patch)
treef5bc19aa9b578e4b665b893f6a6c74f748948bc5 /src/localconsts.h
parentd33a06e189b09040ace46a1dfc292bc77a9d8440 (diff)
downloadManaVerse-61adaf9555e0e730f5ac1e8996923c0abe7f5782.tar.gz
ManaVerse-61adaf9555e0e730f5ac1e8996923c0abe7f5782.tar.bz2
ManaVerse-61adaf9555e0e730f5ac1e8996923c0abe7f5782.tar.xz
ManaVerse-61adaf9555e0e730f5ac1e8996923c0abe7f5782.zip
Fix version check in pragma for gcc 4.5+
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index 4f5358763..881680c93 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -162,13 +162,13 @@
#endif // __clang__
#ifdef __GNUC__
-#if GCC_VERSION > 40500
+#if GCC_VERSION >= 40600
#define PRAGMA45(str) _Pragma(#str)
#elif defined(__clang__)
#define PRAGMA45(str) _Pragma(#str)
-#else // GCC_VERSION > 40400
+#else // GCC_VERSION > 40600
#define PRAGMA45(str)
-#endif // GCC_VERSION > 40400
+#endif // GCC_VERSION > 40600
#endif // __GNUC__
#ifdef __GNUC__