about summary refs log tree commit diff
path: root/stdio-common/printf_fp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/printf_fp.c')
-rw-r--r--stdio-common/printf_fp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c
index 33bc25bfd2..e54fac0a57 100644
--- a/stdio-common/printf_fp.c
+++ b/stdio-common/printf_fp.c
@@ -42,7 +42,9 @@
 #include <unistd.h>
 #include <stdlib.h>
 
-#define NDEBUG			/* Undefine this for debugging assertions.  */
+#ifndef NDEBUG
+# define NDEBUG			/* Undefine this for debugging assertions.  */
+#endif
 #include <assert.h>
 
 /* This defines make it possible to use the same code for GNU C library and