comparison Python/pythonrun.c @ 59041:9b5806a008e7

#4532: fixes to make 3.x compile on QNX 6.3.2 (reported by Matt Kraai)
author Andrew M. Kuchling <amk@amk.ca>
date Mon, 22 Feb 2010 23:26:10 +0000
parents 4bed796ee0d7
children 42261c6ca564
comparison
equal deleted inserted replaced
59034:b83f9716f135 59041:9b5806a008e7
178 178
179 if (initialized) 179 if (initialized)
180 return; 180 return;
181 initialized = 1; 181 initialized = 1;
182 182
183 #ifdef HAVE_SETLOCALE 183 #if defined(HAVE_LANGINFO_H) && defined(HAVE_SETLOCALE)
184 /* Set up the LC_CTYPE locale, so we can obtain 184 /* Set up the LC_CTYPE locale, so we can obtain
185 the locale's charset without having to switch 185 the locale's charset without having to switch
186 locales. */ 186 locales. */
187 setlocale(LC_CTYPE, ""); 187 setlocale(LC_CTYPE, "");
188 #endif 188 #endif