[Python-checkins] cpython: Issue #19977, #19036: Always include <locale.h> in pythonrun.c
victor.stinner
python-checkins at python.org
Tue Mar 18 02:32:21 CET 2014
http://hg.python.org/cpython/rev/3589980c98de
changeset: 89838:3589980c98de
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Mar 18 02:06:38 2014 +0100
summary:
Issue #19977, #19036: Always include <locale.h> in pythonrun.c
to get LC_CTYPE constant on Windows.
files:
Python/pythonrun.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -15,6 +15,7 @@
#include "ast.h"
#include "marshal.h"
#include "osdefs.h"
+#include <locale.h>
#ifdef HAVE_SIGNAL_H
#include <signal.h>
@@ -25,7 +26,6 @@
#endif
#ifdef HAVE_LANGINFO_H
-#include <locale.h>
#include <langinfo.h>
#endif
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list