summaryrefslogtreecommitdiffhomepage
path: root/compat/ndebug-guard.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/ndebug-guard.hpp')
-rw-r--r--compat/ndebug-guard.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/ndebug-guard.hpp b/compat/ndebug-guard.hpp
new file mode 100644
index 00000000..209177b3
--- /dev/null
+++ b/compat/ndebug-guard.hpp
@@ -0,0 +1,3 @@
+#ifdef NDEBUG
+# error "NDEBUG defined, don't define it"
+#endif