bpo-36965: include windows.h to be able to use STATUS_CONTROL_C_EXIT by erikjanss · Pull Request #13421 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

vstinner

@erikjanss erikjanss changed the title bpo-36965: include ntstatus.h when compiling for windows bpo-36965: include windows.h to be able to use STATUS_CONTROL_C_EXIT

May 20, 2019

erikjanss added a commit to erikjanss/cpython that referenced this pull request

May 21, 2019
…ythonGH-13421)

Include windows.h rather than crtdbg.h to get STATUS_CONTROL_C_EXIT constant.
Moreover, include windows.h on Windows, not only when MSC is used.

(cherry picked from commit 925af1d)

erikjanss added a commit to erikjanss/cpython that referenced this pull request

May 21, 2019
…lers (pythonGH-13421)

Include windows.h rather than crtdbg.h to get STATUS_CONTROL_C_EXIT constant.
Moreover, include windows.h on Windows, not only when MSC is used..
(cherry picked from commit 925af1d)

Co-authored-by: Erik Janssens <erik.janssens@conceptive.be>

vstinner pushed a commit that referenced this pull request

May 22, 2019
…H-13421) (GH-13471)

Include windows.h rather than crtdbg.h to get STATUS_CONTROL_C_EXIT constant.
Moreover, include windows.h on Windows, not only when MSC is used.

(cherry picked from commit 925af1d)