From 6eaa7e187199043470b9f2c98f061c279d4c16b2 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Mon, 3 Mar 2014 16:04:04 -0500 Subject: [PATCH] Protect NDEBUG in case already defined --- lib/sparse/general.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/sparse/general.h b/lib/sparse/general.h index f8996e526..d62c318fd 100644 --- a/lib/sparse/general.h +++ b/lib/sparse/general.h @@ -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]; -- 2.40.0