From c15be9b91293b12bb78d39c817afd04d021c3af9 Mon Sep 17 00:00:00 2001 From: Kevin Wasserman Date: Tue, 3 Apr 2012 12:33:34 -0400 Subject: [PATCH] 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 --- src/windows/leash/StdAfx.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.2