summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorErik Janssens <erik.janssens@conceptive.be>2019-05-21 10:11:11 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2019-05-21 10:11:11 (GMT)
commit925af1d99b69bf3e229411022ad840c5a0cfdcf8 (patch)
tree2b21d89f4432b3f6b80c7c54b4ad6deab72e0f01 /Misc
parente7cb23bf2079087068a08502f96fdf20b317d69c (diff)
downloadcpython-925af1d99b69bf3e229411022ad840c5a0cfdcf8.zip
cpython-925af1d99b69bf3e229411022ad840c5a0cfdcf8.tar.gz
cpython-925af1d99b69bf3e229411022ad840c5a0cfdcf8.tar.bz2
bpo-36965: Fix includes in main.c on Windows with non-MSC compilers (GH-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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Windows/2019-05-20-20-26-36.bpo-36965.KsfI-N.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2019-05-20-20-26-36.bpo-36965.KsfI-N.rst b/Misc/NEWS.d/next/Windows/2019-05-20-20-26-36.bpo-36965.KsfI-N.rst
new file mode 100644
index 0000000..2a531d2
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2019-05-20-20-26-36.bpo-36965.KsfI-N.rst
@@ -0,0 +1 @@
+include of STATUS_CONTROL_C_EXIT without depending on MSC compiler