]> granicus.if.org Git - python/commitdiff
Move sys_stream and sys_isatty out of the have-langinfo block.
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 1 Jun 2008 08:06:17 +0000 (08:06 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 1 Jun 2008 08:06:17 +0000 (08:06 +0000)
Python/pythonrun.c

index c30bf652cafae07455f220d8e64441388ae23d52..aefef06f77f13b5e44b3bdd3a194e6032dbe72f9 100644 (file)
@@ -138,9 +138,9 @@ Py_InitializeEx(int install_sigs)
        char *errors = NULL;
        int free_codeset = 0;
        int overridden = 0;
+       PyObject *sys_stream, *sys_isatty;
 #if defined(Py_USING_UNICODE) && defined(HAVE_LANGINFO_H) && defined(CODESET)
        char *saved_locale, *loc_codeset;
-       PyObject *sys_stream, *sys_isatty;
 #endif
 #ifdef MS_WINDOWS
        char ibuf[128];