diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2010-02-22 23:26:10 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2010-02-22 23:26:10 (GMT) |
commit | b2ceb3ad9e30db522ee26fe340af18397c607c24 (patch) | |
tree | 629a4813a37482459e3b77fe655a3597522a35a6 /Python | |
parent | e1f9bebd991bc8aff0f4f1ca8774b029eb875584 (diff) | |
download | cpython-b2ceb3ad9e30db522ee26fe340af18397c607c24.zip cpython-b2ceb3ad9e30db522ee26fe340af18397c607c24.tar.gz cpython-b2ceb3ad9e30db522ee26fe340af18397c607c24.tar.bz2 |
#4532: fixes to make 3.x compile on QNX 6.3.2 (reported by Matt Kraai)
Diffstat (limited to 'Python')
-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 3764740..b99a541 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. */ |