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 61d1e0531..f9cf19a9c 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -21,6 +21,8 @@
#if !defined(__GXX_EXPERIMENTAL_CXX0X__)
#undef nullptr
#define nullptr 0
+#define final
+#define override
#else
#undef Z_NULL
#define Z_NULL nullptr