diff --git a/ddebug/pserror.h b/ddebug/pserror.h index e27aa6766..4daf644e9 100644 --- a/ddebug/pserror.h +++ b/ddebug/pserror.h @@ -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 diff --git a/netgames/includes/DMFC.h b/netgames/includes/DMFC.h index e9066577c..be10f7305 100644 --- a/netgames/includes/DMFC.h +++ b/netgames/includes/DMFC.h @@ -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