From: Kevin Wasserman Date: Tue, 3 Apr 2012 16:33:34 +0000 (-0400) Subject: Target Windows Vista in leash/stdafx.h X-Git-Tag: krb5-1.11-alpha1~305 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fed20805254a9b49c7e75ba83de2a95348b21c3b;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 ticket: 7240 (new) queue: kfw subject: Support the Ribbon UI for Leash target_version: 1.10.4 tags: pullup --- 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