From: Yunzhong Gao Date: Wed, 6 Jan 2016 03:01:10 +0000 (+0000) Subject: Do not define NOGDI. Mingw defines LOGFONTW type in wingdi.h and the mingw X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bf6a00569e32764e4ffdc42db2d69abfeac9d934;p=oota-llvm.git 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 --- 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