]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Target Windows Vista in leash/stdafx.h
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Tue, 3 Apr 2012 16:33:34 +0000 (12:33 -0400)
committerBen Kaduk <kaduk@mit.edu>
Thu, 23 Aug 2012 19:29:47 +0000 (15:29 -0400)
Define WINVER and _WIN32_WINNT, to target Vista+ -- required for
ribbon ui.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7240 (new)
queue: kfw
subject: Support the Ribbon UI for Leash
target_version: 1.10.4
tags: pullup

src/windows/leash/StdAfx.h

index 6b8d0684ad6248686b26c9b8aaa42a6652bfe81f..8717508ec3032037513361e5ac1e9294c38ed336 100644 (file)
@@ -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 <afxwin.h>         // MFC core and standard components
 #include <afxext.h>         // MFC extensions
 #include <afxdisp.h>        // MFC OLE automation classes