mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
Remove HEAPCHECK() macro as unused
This commit is contained in:
parent
0e959cb4de
commit
51da6aaae8
@ -228,24 +228,9 @@ static inline void SetDebugBreakHandlers(void (*stop)(), void (*resume)()) {
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#if defined(WIN32)
|
||||
|
||||
#define HEAPCHECK() \
|
||||
do { \
|
||||
if (_heapchk() != _HEAPOK) \
|
||||
Int3(); \
|
||||
} while (0)
|
||||
|
||||
#elif defined(POSIX)
|
||||
|
||||
#define HEAPCHECK()
|
||||
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define DEBUG_BREAK()
|
||||
#define ASSERT(x)
|
||||
#define Int3()
|
||||
#define HEAPCHECK()
|
||||
#endif
|
||||
#endif
|
||||
|
@ -332,20 +332,6 @@
|
||||
|
||||
#define DLLmprintf(...) DLLDebug_ConsolePrintf(__VA_ARGS__)
|
||||
|
||||
#if defined(WIN32)
|
||||
|
||||
#define HEAPCHECK() \
|
||||
do { \
|
||||
if (_heapchk() != _HEAPOK) \
|
||||
Int3(); \
|
||||
} while (0)
|
||||
|
||||
#elif defined(POSIX)
|
||||
|
||||
#define HEAPCHECK()
|
||||
|
||||
#endif
|
||||
|
||||
#else // Release build
|
||||
|
||||
#ifdef DEBUG_BREAK
|
||||
|
Loading…
Reference in New Issue
Block a user