diff options
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 b5f7e54459..1b6d2d3d32 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 |