Remove HEAPCHECK() macro as unused

This commit is contained in:
Azamat H. Hackimov 2024-10-05 05:21:41 +03:00
parent 0e959cb4de
commit 51da6aaae8
2 changed files with 0 additions and 29 deletions

View File

@ -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

View File

@ -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