diff options
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index 10ec5e110..86df45ee0 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -204,6 +204,11 @@ #ifdef __clang__ #define PRAGMACLANG(str) _Pragma(#str) +#if CLANG_VERSION >= 50000 +#define PRAGMACLANG5(str) _Pragma(#str) +#else // CLANG_VERSION >= 50000 +#define PRAGMACLANG5(str) +#endif // CLANG_VERSION >= 50000 #if CLANG_VERSION >= 30800 #define PRAGMACLANG6(str) _Pragma(#str) #define CLANG_FALLTHROUGH [[clang::fallthrough]]; |