summaryrefslogtreecommitdiff
path: root/src/assert/NDEBUG.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 14:11:32 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 14:11:32 -0400
commit77d0069e522400b63c2182fcc5f852718e4e6f2c (patch)
tree6713710011e6e24ebc589d4fa32093e5af329afc /src/assert/NDEBUG.h
parent896e28812c51b9ffdf3efc00c7d7ef699e380a58 (diff)
rename files that should never be compiled on their own to .h
Diffstat (limited to 'src/assert/NDEBUG.h')
-rw-r--r--src/assert/NDEBUG.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/assert/NDEBUG.h b/src/assert/NDEBUG.h
new file mode 100644
index 00000000..b09e73ce
--- /dev/null
+++ b/src/assert/NDEBUG.h
@@ -0,0 +1,14 @@
+/* #undef NDEBUG */
+
+#define NDEBUG /** control program diagnostics **/
+
+/***
+THIS() is not defined by the compiler or any header. If it is defined
+by the programmer before including HEADER(assert.h), it causes
+FUNCTION(assert) to be a void statement. Otherwise, FUNCTION(assert) has
+its normal behavior.
+***/
+
+/*
+STDC(1)
+*/