From 5cbe06cfad11c604a54701f62d13b84c70d516c0 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sun, 11 Feb 2024 18:29:48 +0100 Subject: [PATCH] Guard NDEBUG behind an ifdef Needed for Android as NDEBUG is already defined. --- simclist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simclist.c b/simclist.c index 1b8d3c8..0805330 100755 --- a/simclist.c +++ b/simclist.c @@ -44,8 +44,10 @@ /* disable asserts */ #ifndef SIMCLIST_DEBUG +#ifndef NDEBUG #define NDEBUG #endif +#endif #include