diff Python/pythonrun.c @ 47415:622cabbaf2bc legacy-trunk

Move sys_stream and sys_isatty out of the have-langinfo block.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 01 Jun 2008 08:06:17 +0000
parents 1062b7dec95b
children 2a63ab3595a1
line wrap: on
line diff
--- a/Python/pythonrun.c	Sun Jun 01 07:20:46 2008 +0000
+++ b/Python/pythonrun.c	Sun Jun 01 08:06:17 2008 +0000
@@ -138,9 +138,9 @@
 	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];