Issue #19036: Including locale.h should not depend on HAVE_LANGINFO_H.
This commit is contained in:
parent
1cfe009b96
commit
6c01e38677
|
@ -545,6 +545,7 @@ Randall Hopper
|
||||||
Nadav Horesh
|
Nadav Horesh
|
||||||
Alon Horev
|
Alon Horev
|
||||||
Jan Hosang
|
Jan Hosang
|
||||||
|
Alan Hourihane
|
||||||
Ken Howard
|
Ken Howard
|
||||||
Brad Howes
|
Brad Howes
|
||||||
Mike Hoy
|
Mike Hoy
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
#include "osdefs.h"
|
#include "osdefs.h"
|
||||||
|
#include <locale.h>
|
||||||
|
|
||||||
#ifdef MS_WINDOWS
|
#ifdef MS_WINDOWS
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LANGINFO_H
|
#ifdef HAVE_LANGINFO_H
|
||||||
#include <locale.h>
|
|
||||||
#include <langinfo.h>
|
#include <langinfo.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue