summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index 7fa4fc381..91c2bb904 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -23,6 +23,7 @@
#define nullptr 0
#define final
#define override
+#define constexpr
#define A_DELETE(func)
#define A_DELETE_COPY(func)
#else
@@ -32,6 +33,7 @@
#if GCC_VERSION < 40700
#define final
#define override
+#define constexpr
//#define A_DELETE
//#define A_DELETE_COPY
#endif