rendered paste bodyIndex: src/shared/WheatyExceptionReport.cpp
===================================================================
--- src/shared/WheatyExceptionReport.cpp (revision 4822)
+++ src/shared/WheatyExceptionReport.cpp (working copy)
@@ -3,6 +3,7 @@
// MSDN Magazine, 2002
// FILE: WheatyExceptionReport.CPP
//==========================================
+#if (WINVER >=_WIN32_WINNT_WINXP)
#define WIN32_LEAN_AND_MEAN
#pragma warning(disable:4996)
#pragma warning(disable:4312)
@@ -670,3 +671,4 @@
return retValue;
}
+#endif
\ No newline at end of file
Index: src/shared/WheatyExceptionReport.h
===================================================================
--- src/shared/WheatyExceptionReport.h (revision 4822)
+++ src/shared/WheatyExceptionReport.h (working copy)
@@ -1,3 +1,4 @@
+#if (WINVER >=_WIN32_WINNT_WINXP)
#pragma once
#include <dbghelp.h>
@@ -71,3 +72,4 @@
extern WheatyExceptionReport g_WheatyExceptionReport; // global instance of class
+#endif
\ No newline at end of file