summaryrefslogtreecommitdiff
path: root/common/os_win32.cpp
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-01-11 11:17:08 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-01-11 11:17:08 +0000
commitdd68940bb65e1224832dec1087c922e62c654ca8 (patch)
tree10c589f5f7f9b623b9843258a360b40026462ece /common/os_win32.cpp
parenta9d7f8edfea904f8dc84f2ad472cd542437935f7 (diff)
Fix build with older MinGW headers.
Diffstat (limited to 'common/os_win32.cpp')
-rw-r--r--common/os_win32.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/os_win32.cpp b/common/os_win32.cpp
index b35346e1..7b35ccf8 100644
--- a/common/os_win32.cpp
+++ b/common/os_win32.cpp
@@ -235,6 +235,10 @@ abort(void)
}
+#ifndef DBG_PRINTEXCEPTION_C
+#define DBG_PRINTEXCEPTION_C 0x40010006
+#endif
+
static PVOID prevExceptionFilter = NULL;
static void (*gCallback)(void) = NULL;