]> granicus.if.org Git - graphviz/commitdiff
Protect NDEBUG in case already defined
authorEmden R. Gansner <erg@alum.mit.edu>
Mon, 3 Mar 2014 21:04:04 +0000 (16:04 -0500)
committerEmden R. Gansner <erg@alum.mit.edu>
Mon, 3 Mar 2014 21:04:04 +0000 (16:04 -0500)
lib/sparse/general.h

index f8996e526ecd770b356cfea229f1cd6c01983ffb..d62c318fd0f0337f215ff1779c9022582f44834a 100644 (file)
@@ -74,8 +74,10 @@ extern unsigned char Verbose;
 #define MEMCPY memcpy
 
 #ifndef DEBUG
+#ifndef NDEBUG
 #define NDEBUG /* switch off assert*/
 #endif
+#endif
 
 #ifdef DEBUG
 extern double _statistics[10];