From b2ceb3ad9e30db522ee26fe340af18397c607c24 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Mon, 22 Feb 2010 23:26:10 +0000 Subject: #4532: fixes to make 3.x compile on QNX 6.3.2 (reported by Matt Kraai) --- Python/pythonrun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pythonrun.c') 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. */ -- cgit v1.2.1