]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/crashrpt.cpp
Some compilers don't define SIZE_T (e.g. dmc) so use size_t instead.
[wxWidgets.git] / 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