diff options
-rw-r--r-- | changelog.md | 4 | ||||
-rw-r--r-- | luma/src/luma.h | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/changelog.md b/changelog.md index b3b1d51..c87b46b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# 25 + +* Fix logs being forced disabled. + # 24 * Depend on SDL2. diff --git a/luma/src/luma.h b/luma/src/luma.h index e87e905..d26f2b9 100644 --- a/luma/src/luma.h +++ b/luma/src/luma.h @@ -25,7 +25,7 @@ #include <stdint.h> #include <stdio.h> -#define luma_ver 0x1C +#define luma_ver 0x1D typedef uint8_t luma_byte; typedef uint16_t luma_dbl; @@ -68,8 +68,7 @@ _Noreturn void luma_abrt( void); void luma_setByte( luma_dbl addr,luma_byte val); void luma_setDbl( luma_dbl addr,luma_dbl val); -#define luma_noLog true -#if defined(NDEBUG) || luma_noLog +#if defined(NDEBUG) #define luma_log(...) #else #define luma_log(...) (fprintf(stderr,__VA_ARGS__)) |