From bf6a00569e32764e4ffdc42db2d69abfeac9d934 Mon Sep 17 00:00:00 2001 From: Yunzhong Gao Date: Wed, 6 Jan 2016 03:01:10 +0000 Subject: [PATCH] Do not define NOGDI. Mingw defines LOGFONTW type in wingdi.h and the mingw version of shlobj.h includes shobjidl.h and the latter uses the LOGFONTW type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256904 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Windows/WindowsSupport.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Support/Windows/WindowsSupport.h b/lib/Support/Windows/WindowsSupport.h index ad48aec73fb..c65e3148921 100644 --- a/lib/Support/Windows/WindowsSupport.h +++ b/lib/Support/Windows/WindowsSupport.h @@ -30,7 +30,6 @@ #define _WIN32_WINNT 0x0601 #define _WIN32_IE 0x0800 // MinGW at it again. FIXME: verify if still needed. #define WIN32_LEAN_AND_MEAN -#define NOGDI #ifndef NOMINMAX #define NOMINMAX #endif -- 2.34.1