From d3c69c839b180e1d22d5a89625322dfc6ae72785 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 20 Jun 2017 02:53:42 +0300 Subject: Fix define PRAGMA8. --- src/localconsts.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/localconsts.h') 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 -- cgit v1.2.3-60-g2f50