summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-11-19 23:24:28 +0000
committerUlrich Drepper <drepper@redhat.com>1997-11-19 23:24:28 +0000
commit9f930d245fb37cab24b512eb16825d8260a72ef0 (patch)
tree45c986462ed65a59f4792beff0763efd0c06a18e
parent11e0388374f9f4de5d38f2e513df4991642e8c82 (diff)
Define NDEBUG only if not yet defined.
-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 49292e5b7c..0920fb4fca 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