diff --git a/include/etl/platform.h b/include/etl/platform.h index 6e075bd2..13c9df63 100644 --- a/include/etl/platform.h +++ b/include/etl/platform.h @@ -38,7 +38,7 @@ SOFTWARE. #define ETL_8BIT_SUPPORT (CHAR_BIT == 8) // Define a debug macro -#if defined(_DEBUG) || defined(DEBUG) +#if (defined(_DEBUG) || defined(DEBUG)) && !defined(ETL_DEBUG) #define ETL_DEBUG #endif