diff -r eee959fee5f5 Python/pylifecycle.c --- a/Python/pylifecycle.c Sat May 07 21:13:50 2016 +0300 +++ b/Python/pylifecycle.c Sat May 14 11:32:05 2016 +0200 @@ -297,7 +297,7 @@ initialized = 1; _Py_Finalizing = NULL; -#if defined(HAVE_LANGINFO_H) && defined(HAVE_SETLOCALE) +#ifdef HAVE_SETLOCALE /* Set up the LC_CTYPE locale, so we can obtain the locale's charset without having to switch locales. */