From ea2e252d3eed0460aa4595a0d5fd9136b2b1b9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 30 Jun 2002 15:26:10 +0000 Subject: Patch #569753: Remove support for WIN16. Rename all occurrences of MS_WIN32 to MS_WINDOWS. --- Python/frozenmain.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Python/frozenmain.c') diff --git a/Python/frozenmain.c b/Python/frozenmain.c index 21724ef324..397f0465ce 100644 --- a/Python/frozenmain.c +++ b/Python/frozenmain.c @@ -3,7 +3,7 @@ #include "Python.h" -#ifdef MS_WIN32 +#ifdef MS_WINDOWS extern void PyWinFreeze_ExeInit(void); extern void PyWinFreeze_ExeTerm(void); extern int PyInitFrozenExtensions(void); @@ -32,12 +32,12 @@ Py_FrozenMain(int argc, char **argv) setbuf(stderr, (char *)NULL); } -#ifdef MS_WIN32 +#ifdef MS_WINDOWS PyInitFrozenExtensions(); -#endif /* MS_WIN32 */ +#endif /* MS_WINDOWS */ Py_SetProgramName(argv[0]); Py_Initialize(); -#ifdef MS_WIN32 +#ifdef MS_WINDOWS PyWinFreeze_ExeInit(); #endif @@ -60,7 +60,7 @@ Py_FrozenMain(int argc, char **argv) if (inspect && isatty((int)fileno(stdin))) sts = PyRun_AnyFile(stdin, "") != 0; -#ifdef MS_WIN32 +#ifdef MS_WINDOWS PyWinFreeze_ExeTerm(); #endif Py_Finalize(); -- cgit v1.2.1