On 03.06.2017 12:13, Rainer Müller wrote: > On 2017-06-02 16:35, Peter Maydell wrote: >> diff --git a/configure b/configure >> index 0586ec9..6aca5d1 100755 >> --- a/configure >> +++ b/configure >> @@ -3053,6 +3053,8 @@ int main(void) { >> EOF >> IFS=: >> for curses_inc in $curses_inc_list; do >> + # Make sure we get the wide character prototypes >> + curses_inc="-DNCURSES_WIDECHAR $curses_inc" >> IFS=: >> for curses_lib in $curses_lib_list; do >> unset IFS >> > > Thank you for getting back to this. I can confirm that this patch fixes > --enable-curses for me on Mac OS X. > > Although this already works as is, I would use -DNCURSES_WIDECHAR=1 as > ncurses.h uses #if and not #ifdef to check for this. >
-DNCURSES_WIDECHAR evaluates to 1 for #if > Rainer >
signature.asc
Description: OpenPGP digital signature