From: Martin v. Löwis <martin@v.loewis.de>
Date: Sun, 1 Jun 2008 08:06:17 +0000 (+0000)
Subject: Move sys_stream and sys_isatty out of the have-langinfo block.
X-Git-Tag: v2.6b1~183
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b12d8579e362bb33c54db5ae4db94c88e68f0304;p=python

Move sys_stream and sys_isatty out of the have-langinfo block.
---

diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index c30bf652ca..aefef06f77 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -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];