aboutsummaryrefslogtreecommitdiff
path: root/chardev/wctablet.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2021-11-17 21:53:55 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-11-19 10:18:27 +0100
commitfbab8cc24ded54f371ab9db2c9998be23c158e62 (patch)
tree524ad7b6175151ed0fd4cfcb94192ebfbfcb0024 /chardev/wctablet.c
parent5135fe71101db08cf65090963247f9b1b8138b73 (diff)
downloadqemu-fbab8cc24ded54f371ab9db2c9998be23c158e62.zip
qemu-fbab8cc24ded54f371ab9db2c9998be23c158e62.tar.gz
qemu-fbab8cc24ded54f371ab9db2c9998be23c158e62.tar.bz2
meson.build: Support ncurses on MacOS and OpenBSD
MacOS provides header files for curses 5.7 with support for wide characters, but requires _XOPEN_SOURCE_EXTENDED=1 to activate that. By default those old header files are used even if there is a newer Homebrew installation of ncurses 6.2 available. Change also the old macro definition of NCURSES_WIDECHAR and set it to 1 like it is done in newer versions of curses.h when _XOPEN_SOURCE_EXTENDED=1 is defined. OpenBSD has the same version of ncurses and needs the same fix. Suggested-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Tested-by: Brad Smith <brad@comstyle.com> Message-Id: <20211117205355.1392292-1-sw@weilnetz.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'chardev/wctablet.c')
0 files changed, 0 insertions, 0 deletions