]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define NDEBUG only if not yet defined.
authorUlrich Drepper <drepper@redhat.com>
Wed, 19 Nov 1997 23:24:28 +0000 (23:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 19 Nov 1997 23:24:28 +0000 (23:24 +0000)
stdio-common/printf_fp.c

index 49292e5b7caa1e1dc1db9016c2ceeb2a6988b177..0920fb4fca0abd8c9f338b97ea7f0e44fe8f07bc 100644 (file)
@@ -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