]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/crashrpt.cpp
include wx/thread.h in debug build which is needed after last change
[wxWidgets.git] / src / msw / crashrpt.cpp
index 34eba9c5c91044f4dc1dfcdcf30ce04d114cf572..03bfe7f53401778ea0f693aaadd71ba849720910 100644 (file)
@@ -198,8 +198,11 @@ bool wxCrashReportImpl::Generate(int flags, EXCEPTION_POINTERS *ep)
             // the file size is not much bigger than when using MiniDumpNormal
             // if we use the flags below, but the minidump is much more useful
             // as it contains the values of many (but not all) local variables
-            dumpFlags = (MINIDUMP_TYPE)(MiniDumpScanMemory |
-                                        MiniDumpWithIndirectlyReferencedMemory);
+            dumpFlags = (MINIDUMP_TYPE)(MiniDumpScanMemory
+#if _MSC_VER > 1300
+                                        |MiniDumpWithIndirectlyReferencedMemory
+#endif
+                                        );
         }
 
         if ( !wxDbgHelpDLL::MiniDumpWriteDump