From 93d960e3b839e7aeb5f3b6b0e442e587d1df8508 Mon Sep 17 00:00:00 2001 From: Stefano D'Angelo Date: Wed, 14 Feb 2024 06:20:00 +0100 Subject: [PATCH] DEBUG preprocessor flag --- examples/common/src/common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/common/src/common.h b/examples/common/src/common.h index 7282b88..5d265bf 100644 --- a/examples/common/src/common.h +++ b/examples/common/src/common.h @@ -3,4 +3,7 @@ # define BW_NO_MATH_H # define INFINITY (__builtin_inff()) #endif -#define BW_NO_DEBUG + +#ifndef DEBUG +# define BW_NO_DEBUG +#endif