diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2010-02-22 23:26:10 +0000 |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2010-02-22 23:26:10 +0000 |
commit | 7fc1caed37e14732a95513b5bc081dd5dcab65da (patch) | |
tree | 6044a333d05202900cb8bde17772ecf4ed78e915 /Python/pythonrun.c | |
parent | 4fdb8424ee2065f9fa576d7ffb3dab4441cb60f6 (diff) | |
download | cpython-7fc1caed37e14732a95513b5bc081dd5dcab65da.tar.gz |
#4532: fixes to make 3.x compile on QNX 6.3.2 (reported by Matt Kraai)
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 3764740e81..b99a541d54 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -180,7 +180,7 @@ Py_InitializeEx(int install_sigs) 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. */ |