summaryrefslogtreecommitdiff
path: root/cpp/demo/IcePatch2/MFC/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IcePatch2/MFC/stdafx.h')
-rwxr-xr-xcpp/demo/IcePatch2/MFC/stdafx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/demo/IcePatch2/MFC/stdafx.h b/cpp/demo/IcePatch2/MFC/stdafx.h
index 4265425b2f9..f2dede794a2 100755
--- a/cpp/demo/IcePatch2/MFC/stdafx.h
+++ b/cpp/demo/IcePatch2/MFC/stdafx.h
@@ -33,7 +33,9 @@
#endif
#ifndef WINVER
-#define WINVER 0x0400
+# if defined(_MSC_VER) && _MSC_VER > 1300
+# define WINVER 0x0400
+# endif
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.