diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-10-24 17:10:49 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-10-24 17:10:49 (GMT) |
commit | eb9b1032960dd47916ea31fe77f1c993e26c69f9 (patch) | |
tree | b7dda25c1327ba70bec1b262733c5ccb04f0bf8f /Include | |
parent | 861a65bc2fa83485bdc66f86cb13d4ad4798a68d (diff) | |
download | cpython-eb9b1032960dd47916ea31fe77f1c993e26c69f9.zip cpython-eb9b1032960dd47916ea31fe77f1c993e26c69f9.tar.gz cpython-eb9b1032960dd47916ea31fe77f1c993e26c69f9.tar.bz2 |
Check for HP/UX curses problems. Define _XOPEN_SOURCE_EXTENDED and
STRICT_SYSV_CURSES when compiling curses module on HP/UX. Generalize
access to _flags on systems where WINDOW is opaque. Fixes bugs
#432497, #422265, and the curses parts of #467145 and #473150.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/py_curses.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Include/py_curses.h b/Include/py_curses.h index b5f7e54..1b6d2d3 100644 --- a/Include/py_curses.h +++ b/Include/py_curses.h @@ -12,6 +12,17 @@ #endif #endif +#ifdef HAVE_NCURSES_H +/* configure was checking <curses.h>, but we will + use <ncurses.h>, which has all these features. */ +#ifndef WINDOW_HAS_FLAGS +#define WINDOW_HAS_FLAGS 1 +#endif +#ifndef MVWDELCH_IS_EXPRESSION +#define MVWDELCH_IS_EXPRESSION 1 +#endif +#endif + #ifdef __cplusplus extern "C" { #endif |