mirror of
https://github.com/python/cpython.git
synced 2025-09-01 06:28:36 +00:00
Patch #569753: Remove support for WIN16.
Rename all occurrences of MS_WIN32 to MS_WINDOWS.
This commit is contained in:
parent
adfa7409f8
commit
6238d2b024
18 changed files with 102 additions and 241 deletions
|
@ -17,7 +17,7 @@
|
|||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
#ifdef MS_WIN32
|
||||
#ifdef MS_WINDOWS
|
||||
#undef BYTE
|
||||
#include "windows.h"
|
||||
#endif
|
||||
|
@ -1272,14 +1272,14 @@ Py_FatalError(char *msg)
|
|||
#ifdef macintosh
|
||||
for (;;);
|
||||
#endif
|
||||
#ifdef MS_WIN32
|
||||
#ifdef MS_WINDOWS
|
||||
OutputDebugString("Fatal Python error: ");
|
||||
OutputDebugString(msg);
|
||||
OutputDebugString("\n");
|
||||
#ifdef _DEBUG
|
||||
DebugBreak();
|
||||
#endif
|
||||
#endif /* MS_WIN32 */
|
||||
#endif /* MS_WINDOWS */
|
||||
abort();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue