summaryrefslogtreecommitdiff
path: root/cpp/demo/IcePatch2/MFC/stdafx.h
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-03-26 12:29:04 -0230
committerDwayne Boone <dwayne@zeroc.com>2008-03-26 12:29:04 -0230
commitd4d59932b004f1413f2335ba9a5c9fa5a52a2e48 (patch)
treed8667c0588d6b4c5b3aa8989e2ddd2a607c8abf9 /cpp/demo/IcePatch2/MFC/stdafx.h
parentFixed VC60 compile error (diff)
downloadice-d4d59932b004f1413f2335ba9a5c9fa5a52a2e48.tar.bz2
ice-d4d59932b004f1413f2335ba9a5c9fa5a52a2e48.tar.xz
ice-d4d59932b004f1413f2335ba9a5c9fa5a52a2e48.zip
Bug 2910 - Do not define WINVER for VC60
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.