Mercurial > cpython-lru_cache-weakref
diff 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 |
line wrap: on
line diff
--- a/Python/pythonrun.c Mon Feb 22 22:16:58 2010 +0000 +++ b/Python/pythonrun.c Mon Feb 22 23:26:10 2010 +0000 @@ -180,7 +180,7 @@ return; initialized = 1; -#ifdef HAVE_SETLOCALE +#if defined(HAVE_LANGINFO_H) && defined(HAVE_SETLOCALE) /* Set up the LC_CTYPE locale, so we can obtain the locale's charset without having to switch locales. */
