Files
MINGW-packages/mingw-w64-python3/0720-mingw-pdcurses_ISPAD.patch
2015-09-21 15:47:39 +03:00

15 lines
475 B
Diff

diff -Naur Python-3.5.0-orig/Include/py_curses.h Python-3.5.0/Include/py_curses.h
--- Python-3.5.0-orig/Include/py_curses.h 2015-09-21 13:42:25.872257600 +0300
+++ Python-3.5.0/Include/py_curses.h 2015-09-21 13:42:26.009971200 +0300
@@ -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. */