summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Include/pydebug.h1
-rw-r--r--Python/pythonrun.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Include/pydebug.h b/Include/pydebug.h
index a848a15816..4315f5077d 100644
--- a/Include/pydebug.h
+++ b/Include/pydebug.h
@@ -43,6 +43,7 @@ extern DL_IMPORT(int) Py_NoSiteFlag;
extern DL_IMPORT(int) Py_UseClassExceptionsFlag;
extern DL_IMPORT(int) Py_FrozenFlag;
extern DL_IMPORT(int) Py_TabcheckFlag;
+extern DL_IMPORT(int) Py_UnicodeFlag;
DL_IMPORT(void) Py_FatalError Py_PROTO((char *));
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 17d569d78f..a4c986ef6a 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -88,6 +88,7 @@ int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */
int Py_NoSiteFlag; /* Suppress 'import site' */
int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c */
int Py_FrozenFlag; /* Needed by getpath.c */
+int Py_UnicodeFlag = 0; /* Needed by compile.c */
static int initialized = 0;