Do not define NOGDI. Mingw defines LOGFONTW type in wingdi.h and the mingw
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Wed, 6 Jan 2016 03:01:10 +0000 (03:01 +0000)
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Wed, 6 Jan 2016 03:01:10 +0000 (03:01 +0000)
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

index ad48aec73fb670f240876e65dfa0d6b7965b5528..c65e3148921ec6094f449c5c7962af6bfccdf746 100644 (file)
@@ -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