From: José Fonseca <jose.r.fonseca@gmail.com>
Date: Wed, 11 Jan 2012 11:17:08 +0000 (+0000)
Subject: Fix build with older MinGW headers.
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=dd68940bb65e1224832dec1087c922e62c654ca8;p=apitrace

Fix build with older MinGW headers.
---

diff --git a/common/os_win32.cpp b/common/os_win32.cpp
index b35346e..7b35ccf 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;