Files
MINGW-packages/mingw-w64-python2/0720-mingw-pdcurses_ISPAD.patch
2014-06-03 08:54:47 +04:00

15 lines
421 B
Diff

diff -Naur a/Include/py_curses.h b/Include/py_curses.h
--- a/Include/py_curses.h 2014-06-03 08:14:26.801200000 +0400
+++ b/Include/py_curses.h 2014-06-03 08:14:26.941600000 +0400
@@ -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. */