aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Strommen <nerdile@outlook.com>2018-03-18 04:31:30 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-03-18 04:31:30 -0700
commit56560864e9cca01645fa19c65db9742d85a3e381 (patch)
treeba7537d565482c7fe8868d5a1620df5cc8f0cc79 /scripts
parentd9abd619fabb6aa6faab08d53ef08bf7f706390e (diff)
downloadvcpkg-56560864e9cca01645fa19c65db9742d85a3e381.tar.gz
vcpkg-56560864e9cca01645fa19c65db9742d85a3e381.zip
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
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions