gh-111460: Restore ncurses widechar support on macOS (#111878)

This commit is contained in:
Davide Rizzo 2023-11-13 14:36:50 +01:00 committed by GitHub
parent 1447af7970
commit d2f305dfd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

2
configure generated vendored
View file

@ -25528,7 +25528,7 @@ fi
fi
CURSES_CFLAGS=$(echo $CURSES_CFLAGS | sed 's/-D_XOPEN_SOURCE=600//g')
if test "$have_curses" = no -a "$ac_sys_system" = "Darwin"; then
if test "$have_curses" != no -a "$ac_sys_system" = "Darwin"; then
as_fn_append CURSES_CFLAGS " -D_XOPEN_SOURCE_EXTENDED=1"
printf "%s\n" "#define HAVE_NCURSESW 1" >>confdefs.h