summaryrefslogtreecommitdiffstats
path: root/generic/regguts.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/regguts.h')
-rw-r--r--generic/regguts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/regguts.h b/generic/regguts.h
index 728d5eb..190d40b 100644
--- a/generic/regguts.h
+++ b/generic/regguts.h
@@ -51,7 +51,9 @@
/* assertions */
#ifndef assert
#ifndef REG_DEBUG
+#ifndef NDEBUG
#define NDEBUG /* no assertions */
+#endif
#endif /* !REG_DEBUG */
#include <assert.h>
#endif