#4532: fixes to make 3.x compile on QNX 6.3.2 (reported by Matt Kraai)

This commit is contained in:
Andrew M. Kuchling 2010-02-22 23:26:10 +00:00
parent e1f9bebd99
commit b2ceb3ad9e
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ static wchar_t prefix[MAXPATHLEN+1];
static wchar_t exec_prefix[MAXPATHLEN+1]; static wchar_t exec_prefix[MAXPATHLEN+1];
static wchar_t progpath[MAXPATHLEN+1]; static wchar_t progpath[MAXPATHLEN+1];
static wchar_t *module_search_path = NULL; static wchar_t *module_search_path = NULL;
static wchar_t lib_python[] = L"lib/python" VERSION; static wchar_t *lib_python = L"lib/python" VERSION;
/* In principle, this should use HAVE__WSTAT, and _wstat /* In principle, this should use HAVE__WSTAT, and _wstat
should be detected by autoconf. However, no current should be detected by autoconf. However, no current

View File

@ -180,7 +180,7 @@ Py_InitializeEx(int install_sigs)
return; return;
initialized = 1; initialized = 1;
#ifdef HAVE_SETLOCALE #if defined(HAVE_LANGINFO_H) && defined(HAVE_SETLOCALE)
/* Set up the LC_CTYPE locale, so we can obtain /* Set up the LC_CTYPE locale, so we can obtain
the locale's charset without having to switch the locale's charset without having to switch
locales. */ locales. */