diff options
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r-- | Python/frozenmain.c | 10 |
1 files changed, 5 insertions, 5 deletions
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, "<stdin>") != 0; -#ifdef MS_WIN32 +#ifdef MS_WINDOWS PyWinFreeze_ExeTerm(); #endif Py_Finalize(); |