at master 552 B view raw
1--- origsrc/Include/py_curses.h 2009-09-06 16:23:05.000000000 -0500 2+++ src/Include/py_curses.h 2010-04-14 15:21:23.008971400 -0500 3@@ -17,6 +17,13 @@ 4 #define NCURSES_OPAQUE 0 5 #endif /* __APPLE__ */ 6 7+#ifdef __CYGWIN__ 8+/* the following define is necessary for Cygwin; without it, the 9+ Cygwin-supplied ncurses.h sets NCURSES_OPAQUE to 1, and then Python 10+ can't get at the WINDOW flags field. */ 11+#define NCURSES_INTERNALS 12+#endif /* __CYGWIN__ */ 13+ 14 #ifdef __FreeBSD__ 15 /* 16 ** On FreeBSD, [n]curses.h and stdlib.h/wchar.h use different guards