Index: core/fxcrt/fx_basic_memmgr.cpp |
diff --git a/core/fxcrt/fx_basic_memmgr.cpp b/core/fxcrt/fx_basic_memmgr.cpp |
index a0af6aef6d7a4aab0566008a0feb0e9bf8440482..1cbd293006b5e4e1cd37530739936132fb574d60 100644 |
--- a/core/fxcrt/fx_basic_memmgr.cpp |
+++ b/core/fxcrt/fx_basic_memmgr.cpp |
@@ -21,5 +21,7 @@ void FXMEM_DefaultFree(void* pointer, int flags) { |
NEVER_INLINE void FX_OutOfMemoryTerminate() { |
// Termimate cleanly if we can, else crash at a specific address (0xbd). |
abort(); |
+#ifndef _WIN32 |
reinterpret_cast<void (*)()>(0xbd)(); |
Tom Sepez
2016/03/23 16:49:50
This could be NULL_DEREF_IF_POSSIBLE, too.
Wei Li
2016/03/23 18:15:12
I thought this was intentional to be set as a diff
|
+#endif |
} |