Mercurial > cpython-lru_cache-weakref
diff Python/frozenmain.c @ 24071:8142f8d668a0 legacy-trunk
Patch #569753: Remove support for WIN16.
Rename all occurrences of MS_WIN32 to MS_WINDOWS.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sun, 30 Jun 2002 15:26:10 +0000 |
| parents | c64fc56f6072 |
| children | fd25030223b0 22a74eaf6b22 |
line wrap: on
line diff
--- a/Python/frozenmain.c Sun Jun 30 15:08:22 2002 +0000 +++ b/Python/frozenmain.c Sun Jun 30 15:26:10 2002 +0000 @@ -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 @@ 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 @@ if (inspect && isatty((int)fileno(stdin))) sts = PyRun_AnyFile(stdin, "<stdin>") != 0; -#ifdef MS_WIN32 +#ifdef MS_WINDOWS PyWinFreeze_ExeTerm(); #endif Py_Finalize();
