Merge.
[fedora-mingw.git] / python3 / mingw32-python-3.1-lc_ctype.patch
1 Index: Python/pythonrun.c
2 ===================================================================
3 --- Python/pythonrun.c  (revision 67686)
4 +++ Python/pythonrun.c  (working copy)
5 @@ -173,7 +173,7 @@
6                 return;
7         initialized = 1;
8  
9 -#ifdef HAVE_SETLOCALE
10 +#if defined(HAVE_SETLOCALE) && defined(LC_CTYPE)
11         /* Set up the LC_CTYPE locale, so we can obtain
12            the locale's charset without having to switch
13            locales. */