diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-20 02:53:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-20 02:53:42 +0300 |
commit | d3c69c839b180e1d22d5a89625322dfc6ae72785 (patch) | |
tree | b667b373c8e1cbf03403ed0017e5cc282f77e7eb | |
parent | 8e7bb25493113cf0ac550acac4634a08f8182cb8 (diff) | |
download | plus-d3c69c839b180e1d22d5a89625322dfc6ae72785.tar.gz plus-d3c69c839b180e1d22d5a89625322dfc6ae72785.tar.bz2 plus-d3c69c839b180e1d22d5a89625322dfc6ae72785.tar.xz plus-d3c69c839b180e1d22d5a89625322dfc6ae72785.zip |
Fix define PRAGMA8.
-rw-r--r-- | src/localconsts.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index ba2905113..539989371 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -192,12 +192,6 @@ #define const2 const -#if GCC_VERSION >= 80000 -#define PRAGMA8(str) _Pragma(#str) -#else // GCC_VERSION > 80000 -#define PRAGMA8(str) -#endif // GCC_VERSION > 80000 - #if GCC_VERSION >= 60000 #define PRAGMA6(str) _Pragma(#str) #else // GCC_VERSION > 60000 @@ -222,6 +216,12 @@ #define PRAGMA49(str) #endif // GCC_VERSION > 49000 +#if GCC_VERSION >= 80000 +#define PRAGMA8(str) _Pragma(#str) +#else // GCC_VERSION > 80000 +#define PRAGMA8(str) +#endif // GCC_VERSION > 80000 + #ifdef __clang__ #define PRAGMACLANG(str) _Pragma(#str) #if CLANG_VERSION >= 30800 |