]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for older version of VC7
authorJulian Smart <julian@anthemion.co.uk>
Thu, 2 Jun 2005 20:58:18 +0000 (20:58 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 2 Jun 2005 20:58:18 +0000 (20:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/crashrpt.cpp

index 34eba9c5c91044f4dc1dfcdcf30ce04d114cf572..3d68e175d082471e0297a051d642125855c237a0 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