summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
Diffstat (limited to 'Parser')
-rw-r--r--Parser/myreadline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Parser/myreadline.c b/Parser/myreadline.c
index 37ee902..24bb18c 100644
--- a/Parser/myreadline.c
+++ b/Parser/myreadline.c
@@ -51,7 +51,7 @@ PERFORMANCE OF THIS SOFTWARE.
#include "mymalloc.h"
#include "intrcheck.h"
-int (*Py_input_hook)() = NULL;
+int (*PyOS_InputHook)() = NULL;
/* This function restarts a fgets() after an EINTR error occurred
except if PyOS_InterruptOccurred() returns true. */
@@ -64,8 +64,8 @@ my_fgets(buf, len, fp)
{
char *p;
for (;;) {
- if (Py_input_hook != NULL)
- (void)(Py_input_hook)();
+ if (PyOS_InputHook != NULL)
+ (void)(PyOS_InputHook)();
errno = 0;
p = fgets(buf, len, fp);
if (p != NULL)