]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36965: Fix includes in main.c on Windows with non-MSC compilers (GH-13421) ...
authorErik Janssens <erik.janssens@conceptive.be>
Wed, 22 May 2019 11:04:06 +0000 (13:04 +0200)
committerVictor Stinner <vstinner@redhat.com>
Wed, 22 May 2019 11:04:06 +0000 (13:04 +0200)
commit791e5fcbab9e444b62d13d08707cbbbeb9406297
tree30ee522610cff5506c292391abc43d32bdad50b6
parentaea49b18752880e5d0260f16ca7ff2c6dce78515
 bpo-36965: Fix includes in main.c on Windows with non-MSC compilers (GH-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 925af1d99b69bf3e229411022ad840c5a0cfdcf8)
Misc/NEWS.d/next/Windows/2019-05-20-20-26-36.bpo-36965.KsfI-N.rst [new file with mode: 0644]
Modules/main.c