FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merged revisions 74693 via svnmerge from · pythoncapi/cpython@5ea7d64 · GitHub

forked from python/cpython

Commit 5ea7d64

Browse files
committed
Merged revisions 74693 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74693 | mark.dickinson | 2009-09-06 22:21:05 +0100 (Sun, 06 Sep 2009) | 2 lines Issue python#6848: Fix curses module build failure on OS X 10.6. ........
1 parent 7a49a8e commit 5ea7d64

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎Include/py_curses.h‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@
1010
#ifdef _BSD_WCHAR_T_DEFINED_
1111
#define _WCHAR_T
1212
#endif
13-
#endif
13+
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__ */
1419

1520
#ifdef __FreeBSD__
1621
/*

‎Misc/NEWS‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ Library
169169
Extension Modules
170170
-----------------
171171

172+
- Issue #6848: Fix curses module build failure on OS X 10.6.
173+
172174
- Fix a segfault that could be triggered by expat with specially formed input.
173175

174176
- Issue #6561: '\d' in a regex now matches only characters with

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL