GHOST: only use GHOST_PRINT when WITH_GHOST_DEBUG is enabled
Revert part of [0] so only assert behavior is changed.
[0]: 9b5dda3b07
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user