summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index c8ac23e46..dc3afad6e 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -210,6 +210,12 @@
#define PRAGMA8(str)
#endif // GCC_VERSION > 80000
+#if GCC_VERSION >= 110000
+#define PRAGMA11(str) _Pragma(#str)
+#else // GCC_VERSION > 110000
+#define PRAGMA11(str)
+#endif // GCC_VERSION > 110000
+
#ifdef __clang__
#define PRAGMACLANG(str) _Pragma(#str)
#if CLANG_VERSION >= 50000