[llvm] r256904 - Do not define NOGDI. Mingw defines LOGFONTW type in wingdi.h and the mingw
Yunzhong Gao via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 5 19:01:10 PST 2016
Author: ygao
Date: Tue Jan 5 21:01:10 2016
New Revision: 256904
URL: http://llvm.org/viewvc/llvm-project?rev=256904&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Support/Windows/WindowsSupport.h
Modified: llvm/trunk/lib/Support/Windows/WindowsSupport.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/WindowsSupport.h?rev=256904&r1=256903&r2=256904&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/WindowsSupport.h (original)
+++ llvm/trunk/lib/Support/Windows/WindowsSupport.h Tue Jan 5 21:01:10 2016
@@ -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
More information about the llvm-commits
mailing list