There was an error while loading. Please reload this page.
1 parent 7a49a8e commit 5ea7d64Copy full SHA for 5ea7d64
2 files changed
Include/py_curses.h
@@ -10,7 +10,12 @@
10
#ifdef _BSD_WCHAR_T_DEFINED_
11
#define _WCHAR_T
12
#endif
13
-#endif
+
14
+/* the following define is necessary for OS X 10.6; without it, the
15
+ Apple-supplied ncurses.h sets NCURSES_OPAQUE to 1, and then Python
16
+ can't get at the WINDOW flags field. */
17
+#define NCURSES_OPAQUE 0
18
+#endif /* __APPLE__ */
19
20
#ifdef __FreeBSD__
21
/*
Misc/NEWS
@@ -169,6 +169,8 @@ Library
169
Extension Modules
170
-----------------
171
172
+- Issue #6848: Fix curses module build failure on OS X 10.6.
173
174
- Fix a segfault that could be triggered by expat with specially formed input.
175
176
- Issue #6561: '\d' in a regex now matches only characters with
0 commit comments