Files
MINGW-packages/mingw-w64-python3/0720-mingw-pdcurses_ISPAD.patch
2014-10-11 14:46:25 +01:00

15 lines
420 B
Diff

diff -urN a/Include/py_curses.h b/Include/py_curses.h
--- a/Include/py_curses.h 2014-10-11 14:22:35.753642500 +0100
+++ b/Include/py_curses.h 2014-10-11 14:22:37.611748800 +0100
@@ -56,6 +56,10 @@
#endif
#endif
+#if defined(__MINGW32__) && !defined(_ISPAD)
+#define _ISPAD 0x10
+#endif
+
#ifdef HAVE_NCURSES_H
/* configure was checking <curses.h>, but we will
use <ncurses.h>, which has all these features. */