diff options
| author | Ray <[email protected]> | 2020-02-03 19:13:24 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-02-03 19:13:24 +0100 |
| commit | cde26c743c382abea56ea5cd9c88d36970a61eea (patch) | |
| tree | 0b54c78c5fa8f5f4b2c99778cd6dc228b512e0ca /src/utils.h | |
| parent | 40b73a8a91afb26becfcb39560dae73447ce15af (diff) | |
| download | raylib-cde26c743c382abea56ea5cd9c88d36970a61eea.tar.gz raylib-cde26c743c382abea56ea5cd9c88d36970a61eea.zip | |
Replace TraceLog() function by TRACELOG macro
Added SUPPORT_TRACELOG_DEBUG config
Diffstat (limited to 'src/utils.h')
| -rw-r--r-- | src/utils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h index 94414c05..756b6553 100644 --- a/src/utils.h +++ b/src/utils.h @@ -38,10 +38,11 @@ #if defined(SUPPORT_TRACELOG_DEBUG) #define TRACELOGD(...) TraceLog(LOG_DEBUG, __VA_ARGS__) #else - #define TRACELOGD(...) void(0) + #define TRACELOGD(...) (void)0 #endif #else - #define TRACELOG(level, ...) void(0) + #define TRACELOG(level, ...) (void)0 + #define TRACELOGD(...) (void)0 #endif //---------------------------------------------------------------------------------- |
