cpython: 3589980c98de (original) (raw)

Mercurial > cpython

changeset 89838:3589980c98de

Issue #19977, #19036: Always include <locale.h> in pythonrun.c to get LC_CTYPE constant on Windows. [#19977]

Victor Stinner victor.stinner@gmail.com
date Tue, 18 Mar 2014 02:06:38 +0100
parents f6794a0fb2b3
children 94d5025c70a3
files Python/pythonrun.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Python/pythonrun.c 2

line wrap: on

line diff

--- 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