Skip to content

Instantly share code, notes, and snippets.

@jonathanasdf
jonathanasdf / python-3.7-cygwin.patch
Last active March 4, 2017 00:17
Python 3.7 Cygwin
diff --git a/Include/py_curses.h b/Include/py_curses.h
index 336c95d..0d87624 100644
--- a/Include/py_curses.h
+++ b/Include/py_curses.h
@@ -17,6 +17,13 @@
#define NCURSES_OPAQUE 0
#endif /* __APPLE__ */
+#ifdef __CYGWIN__
+/* the following define is necessary for Cygwin; without it, the