aboutsummaryrefslogtreecommitdiff
path: root/ports/python3/0004-Fix-iomodule-for-RS4-SDK.patch
AgeCommit message (Collapse)Author
2019-03-26[python3] Update to v3.7.3yurybura
2018-03-18Include windows.h before including consoleapi.h (#3050)Daniel Strommen
* 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