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 36e5092..b6152f4 100644
--- a/generic/regguts.h
+++ b/generic/regguts.h
@@ -55,8 +55,10 @@
/* assertions */
#ifndef assert
# ifndef REG_DEBUG
+# ifndef NDEBUG
# define NDEBUG /* no assertions */
# endif
+# endif
#include <assert.h>
#endif