diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-28 03:16:28 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-28 03:16:28 +0300 |
commit | 381fe684e207d1f8b1bb163bbaaf1f14aae2e7f6 (patch) | |
tree | 464841afa0b6cc01662f5b14588f6ead834b4f3c /intern | |
parent | 65f4f506404f42ef0e2ad8b089ba82cb1d63f579 (diff) |
GHOST: only use GHOST_PRINT when WITH_GHOST_DEBUG is enabled
Revert part of [0] so only assert behavior is changed.
[0]: 9b5dda3b07496bda28970dfd23e4951a76d0f8ed
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_Debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_Debug.h b/intern/ghost/intern/GHOST_Debug.h index 6b1bd3785ae..ec1a0b34be6 100644 --- a/intern/ghost/intern/GHOST_Debug.h +++ b/intern/ghost/intern/GHOST_Debug.h @@ -20,7 +20,7 @@ # include <stdio.h> //for printf() #endif // WITH_GHOST_DEBUG -#if defined(WITH_GHOST_DEBUG) || (!defined(NDEBUG)) +#if defined(WITH_GHOST_DEBUG) # define GHOST_PRINT(x) \ { \ std::cout << x; \ @@ -34,7 +34,7 @@ #else # define GHOST_PRINT(x) # define GHOST_PRINTF(x, ...) -#endif /* `defined(WITH_GHOST_DEBUG) || (!defined(NDEBUG))` */ +#endif /* `!defined(WITH_GHOST_DEBUG)` */ #ifdef WITH_ASSERT_ABORT # include <stdio.h> //for fprintf() |