mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-123925: Fix building curses on platforms without libncursesw (GH-128405)
This commit is contained in:
parent
e1baa778f6
commit
8d16919a06
2 changed files with 3 additions and 1 deletions
|
@ -138,7 +138,7 @@ typedef chtype attr_t; /* No attr_t type is available */
|
|||
#define STRICT_SYSV_CURSES
|
||||
#endif
|
||||
|
||||
#if NCURSES_EXT_FUNCS+0 >= 20170401 && NCURSES_EXT_COLORS+0 >= 20170401
|
||||
#if defined(HAVE_NCURSESW) && NCURSES_EXT_FUNCS+0 >= 20170401 && NCURSES_EXT_COLORS+0 >= 20170401
|
||||
#define _NCURSES_EXTENDED_COLOR_FUNCS 1
|
||||
#else
|
||||
#define _NCURSES_EXTENDED_COLOR_FUNCS 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue