From fe44567d2b98226501f4010316c7113cac68a224 Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Tue, 7 Jan 2020 11:27:10 +0100 Subject: [PATCH] avoid redefinition of NDEBUG fixes https://github.com/OpenSC/OpenSC/issues/1799 --- src/common/simclist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/simclist.c b/src/common/simclist.c index 33f21e6d..a5da703f 100644 --- a/src/common/simclist.c +++ b/src/common/simclist.c @@ -71,8 +71,10 @@ /* disable asserts */ #ifndef SIMCLIST_DEBUG +#ifndef NDEBUG #define NDEBUG #endif +#endif #include