diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-09-06 21:24:55 +0000 |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-09-06 21:24:55 +0000 |
commit | 1fef870710fe3e007aafd2c76c0bbf5207e20511 (patch) | |
tree | 50ecc316ec1f8150d694e61fc9ed739bd025aef8 /Include | |
parent | 49b9161c77e52834f2b1951634099ffeb504a794 (diff) | |
download | cpython-1fef870710fe3e007aafd2c76c0bbf5207e20511.tar.gz |
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 #6848: Fix curses module build failure on OS X 10.6.
........
Diffstat (limited to 'Include')
-rw-r--r-- | Include/py_curses.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Include/py_curses.h b/Include/py_curses.h index ae7b12b685..a891c42be6 100644 --- a/Include/py_curses.h +++ b/Include/py_curses.h @@ -10,7 +10,12 @@ #ifdef _BSD_WCHAR_T_DEFINED_ #define _WCHAR_T #endif -#endif + +/* the following define is necessary for OS X 10.6; without it, the + Apple-supplied ncurses.h sets NCURSES_OPAQUE to 1, and then Python + can't get at the WINDOW flags field. */ +#define NCURSES_OPAQUE 0 +#endif /* __APPLE__ */ #ifdef __FreeBSD__ /* |