prefer using DEBUG rather than NDEBUG

This commit is contained in:
derselbst 2018-06-02 12:51:57 +02:00
parent c43bb5d505
commit 734e5db849

View file

@ -335,10 +335,10 @@ do { strncpy(_dst,_src,_n); \
#define M_LN10 2.3025850929940456840179914546844
#endif
#ifdef NDEBUG
#define FLUID_ASSERT(a)
#else
#ifdef DEBUG
#define FLUID_ASSERT(a) g_assert(a)
#else
#define FLUID_ASSERT(a)
#endif
#define FLUID_LIKELY G_LIKELY