aboutsummaryrefslogtreecommitdiff
path: root/base/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/engine.cpp')
-rw-r--r--base/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/engine.cpp b/base/engine.cpp
index d84728a2e0..a2c722ae6f 100644
--- a/base/engine.cpp
+++ b/base/engine.cpp
@@ -220,7 +220,7 @@ void CDECL warning(const char *s, ...) {
}
void checkHeap() {
-#if defined(_MSC_VER)
+#if defined(WIN32)
if (_heapchk() != _HEAPOK) {
error("Heap is invalid!");
}