blob: e78c029252dc25efa614e7df7c19999ede440e82 [file] [log] [blame]
diff -Naur Python-3.8.0-orig/Include/py_curses.h Python-3.8.0/Include/py_curses.h
--- Python-3.8.0-orig/Include/py_curses.h 2019-10-14 16:34:47.000000000 +0300
+++ Python-3.8.0/Include/py_curses.h 2019-10-22 10:03:25.689398000 +0300
@@ -36,6 +36,13 @@
#include <curses.h>
#endif
+#if defined(__MINGW32__)
+#include <windows.h>
+#if !defined(_ISPAD)
+#define _ISPAD 0x10
+#endif
+#endif
+
#ifdef HAVE_NCURSES_H
/* configure was checking <curses.h>, but we will
use <ncurses.h>, which has some or all these features. */