From 68c7989d0da43ba57f2d541cdc058b75e9a4dad8 Mon Sep 17 00:00:00 2001 From: derselbst Date: Sun, 27 Oct 2019 09:40:37 +0100 Subject: [PATCH] Ensure NDEBUG disables assertions --- src/utils/fluidsynth_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/fluidsynth_priv.h b/src/utils/fluidsynth_priv.h index 32e166d9..d03a23f0 100644 --- a/src/utils/fluidsynth_priv.h +++ b/src/utils/fluidsynth_priv.h @@ -225,7 +225,7 @@ do { strncpy(_dst,_src,_n); \ #define M_LN10 2.3025850929940456840179914546844 #endif -#ifdef DEBUG +#ifdef DEBUG && !defined(NDEBUG) #define FLUID_ASSERT(a) g_assert(a) #else #define FLUID_ASSERT(a)