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 c005e47d8..28d6ab5bc 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -116,8 +116,14 @@
#ifdef ADVGCC
#define const2 const
+#if GCC_VERSION >= 60000
+#define PRAGMA6(str) _Pragma(str)
+#else // GCC_VERSION > 60000
+#define PRAGMA6(str)
+#endif // GCC_VERSION > 60000
#else // ADVGCC
#define const2
+#define PRAGMA6(str)
#endif // ADVGCC
#ifdef __GNUC__