commit | 8cd3b1aa3c109dc8b8f1d9eccc46a404d85d1a7e | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Fri Sep 23 14:25:22 2011 +0000 |
committer | Roger Meier <roger@apache.org> | Fri Sep 23 14:25:22 2011 +0000 |
tree | ad22a11c24f48a102f67f100afb83c3dbd5545de | |
parent | 4bd4f0ec259bdf74d78763766b1dc34bf321665b [diff] [blame] |
THRIFT-1031 Patch to compile Thrift for vc++ 9.0 and 10.0 => some more improvements Patch: James Dickson git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1174801 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/windows/TargetVersion.h b/lib/cpp/src/windows/TargetVersion.h index 7374666..c8498b1 100644 --- a/lib/cpp/src/windows/TargetVersion.h +++ b/lib/cpp/src/windows/TargetVersion.h
@@ -28,6 +28,9 @@ #error This is a MSVC header only. #endif +#include <winsdkver.h> + +#define _WIN32_WINNT 0x0601 #include <SDKDDKVer.h> #endif //_THIRFT_WINDOWS_TARGETVERSION_H_