[libcxx] avoid include Uppercase windows headers (#208903)
We should use unknwn.h and windows.h instead of Unknwn.h and Windows.h
because Linux and other non‑Windows systems treat filenames as
case‑sensitive. Windows does not, so mixed‑case includes work there but
break elsewhere. Both mingw‑w64‑crt and windows‑msvc‑sysroot provide all
Windows headers in fully lowercase, so using the lowercase forms ensures
consistent cross‑platform builds.
Fixes #208901
(cherry picked from commit 2580624091)
This commit is contained in:
parent
44addbd4e1
commit
28af770db4
1 changed files with 2 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ _LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wmultichar")
|
|||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
#include <Unknwn.h>
|
||||
#include <Windows.h>
|
||||
#include <unknwn.h>
|
||||
#include <windows.h>
|
||||
struct _ThrowInfo;
|
||||
#include <eh.h>
|
||||
#include <ehdata.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue