mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 13:29:06 +08:00
56560864e9
* Include windows.h before including consoleapi.h Issue: cpython fails to build against Windows Insider Preview SDK 17115 Root Cause: Failure to include windows.h before other Windows headers (consoleapi.h) Solution: Include windows.h before consoleapi.h If you don't include Windows.h before other Windows headers, then your code is likely to break with new versions of the Windows Platform SDK, as headers move around or new intraheader dependencies are added. That is what happened here. * Remove redundant consoleapi.h The documented header for all the console API's is windows.h, which includes wincon.h which includes consoleapi.h. Consoleapi.h used to also include windows.h, but this caused a circular dependency. So, adjusting this to only include windows.h and omit the consoleapi.h which is redundant. * [python3] formatting |
||
---|---|---|
.. | ||
0001-Static-library.patch | ||
0002-Static-CRT.patch | ||
0003-Fix-header-for-static-linkage.patch | ||
0004-Fix-iomodule-for-RS4-SDK.patch | ||
CONTROL | ||
portfile.cmake |