From: Kevin Wasserman Date: Tue, 3 Apr 2012 16:33:34 +0000 (-0400) Subject: Target Windows Vista in leash/stdafx.h X-Git-Tag: kfw-4.0-final~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c15be9b91293b12bb78d39c817afd04d021c3af9;p=thirdparty%2Fkrb5.git Target Windows Vista in leash/stdafx.h Define WINVER and _WIN32_WINNT, to target Vista+ -- required for ribbon ui. Signed-off-by: Kevin Wasserman (cherry picked from commit fed20805254a9b49c7e75ba83de2a95348b21c3b) ticket: 7240 status: resolved --- diff --git a/src/windows/leash/StdAfx.h b/src/windows/leash/StdAfx.h index 6b8d0684ad..8717508ec3 100644 --- a/src/windows/leash/StdAfx.h +++ b/src/windows/leash/StdAfx.h @@ -11,7 +11,8 @@ #define AFX_STDAFX_H__6F45AD93_561B_11D0_8FCF_00C04FC2A0C2__INCLUDED_ #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - +#define WINVER 0x0600 // Target Vista+ +#define _WIN32_WINNT 0x0600 // Target Vista+ #include // MFC core and standard components #include // MFC extensions #include // MFC OLE automation classes