[Python-checkins] cpython: Issue #17905: Do not guard locale include with HAVE_LANGINFO_H.
stefan.krah
python-checkins at python.org
Mon Apr 25 15:39:36 EDT 2016
https://hg.python.org/cpython/rev/cc501d439239
changeset: 101143:cc501d439239
parent: 101141:316593f5bf73
user: Stefan Krah <skrah at bytereef.org>
date: Mon Apr 25 21:38:53 2016 +0200
summary:
Issue #17905: Do not guard locale include with HAVE_LANGINFO_H.
files:
Python/sysmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -20,6 +20,7 @@
#include "pythread.h"
#include "osdefs.h"
+#include <locale.h>
#ifdef MS_WINDOWS
#define WIN32_LEAN_AND_MEAN
@@ -33,7 +34,6 @@
#endif
#ifdef HAVE_LANGINFO_H
-#include <locale.h>
#include <langinfo.h>
#endif
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list