krb5 commit: Target Windows Vista in leash/stdafx.h

Benjamin Kaduk kaduk at MIT.EDU
Thu Aug 23 15:32:46 EDT 2012


https://github.com/krb5/krb5/commit/fed20805254a9b49c7e75ba83de2a95348b21c3b
commit fed20805254a9b49c7e75ba83de2a95348b21c3b
Author: Kevin Wasserman <kevin.wasserman at painless-security.com>
Date:   Tue Apr 3 12:33:34 2012 -0400

    Target Windows Vista in leash/stdafx.h
    
    Define WINVER and _WIN32_WINNT, to target Vista+ -- required for
    ribbon ui.
    
    Signed-off-by: Kevin Wasserman <kevin.wasserman at 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 |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/windows/leash/StdAfx.h b/src/windows/leash/StdAfx.h
index 6b8d068..8717508 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 <afxwin.h>         // MFC core and standard components
 #include <afxext.h>         // MFC extensions
 #include <afxdisp.h>        // MFC OLE automation classes


More information about the cvs-krb5 mailing list