summaryrefslogtreecommitdiffhomepage
path: root/compat/ndebug-guard.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-08 05:42:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-08 05:42:41 +0100
commitd378dba8caa6aac4e52047996d074cefd3abe7a4 (patch)
tree8d76ab01fb5cdd6aa5d9d0d460ec277c22ddd943 /compat/ndebug-guard.hpp
parentb48a48c143d64caac7d456f9f2a7db180f845a9a (diff)
fix build
Spotted-by: @MrSanchos
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