Skip to content

Modules/_io/_iomodule.c needs windows.h on VS 2017#2

Open
dand-oss wants to merge 1 commit intopython-cmake-buildsystem:3.6.2-patchesfrom
dand-oss:3.6.2-patches
Open

Modules/_io/_iomodule.c needs windows.h on VS 2017#2
dand-oss wants to merge 1 commit intopython-cmake-buildsystem:3.6.2-patchesfrom
dand-oss:3.6.2-patches

Conversation

@dand-oss
Copy link
Copy Markdown

@dand-oss dand-oss commented Feb 2, 2019

No description provided.


#ifdef MS_WINDOWS
#include <windows.h>
#include <consoleapi.h>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can actually remove the line include consoleapi.h. Python 3.7 has this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants