summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-03-22 19:19:01 -0700
committerWei Li <weili@chromium.org>2016-03-22 19:19:01 -0700
commite91afbabec3b7c891b464efd221748edaba3c2bc (patch)
treea1f0cbd94320b43b1f0e949ee91b15367156a0a2 /core/fxcrt
parent0ac525005e15a6a67b04e8ab1553f4a1e18b0da7 (diff)
downloadpdfium-e91afbabec3b7c891b464efd221748edaba3c2bc.tar.xz
Re-enable MSVC warning 4702
BUG=pdfium:29 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1821423002 .
Diffstat (limited to 'core/fxcrt')
-rw-r--r--core/fxcrt/fx_basic_memmgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fxcrt/fx_basic_memmgr.cpp b/core/fxcrt/fx_basic_memmgr.cpp
index a0af6aef6d..1cbd293006 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)();
+#endif
}