Commit Graph

54 Commits

Author SHA1 Message Date
Daniel Strommen
56560864e9 Include windows.h before including consoleapi.h (#3050)
* 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
2018-03-18 04:31:30 -07:00
Albert Ziegenhagel
23962328a4 [python3] Update to 3.6.4 2018-01-04 17:55:01 +01:00
Martin Müller
683d8a8820 Add warning for unsupported linkage combination
Don't remove source directories
Install Python's standard library
2017-05-20 10:58:30 +02:00
Martin Müller
aea0653a8b Add port for Python 3 2017-05-19 23:31:04 +02:00