From: Brad Smith Date: Sat, 12 Oct 2024 03:38:55 +0000 (-0400) Subject: meson.build: Remove ncurses workaround for OpenBSD X-Git-Tag: v9.2.0-rc0~39^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f8d3116fddcea844a086f879e6e934107f471b10;p=thirdparty%2Fqemu.git meson.build: Remove ncurses workaround for OpenBSD meson.build: Remove ncurses workaround for OpenBSD OpenBSD 7.5 has upgraded to ncurses 6.4. Signed-off-by: Brad Smith Reviewed-by: Daniel P. Berrangé Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- diff --git a/meson.build b/meson.build index d26690ce204..c26c417de16 100644 --- a/meson.build +++ b/meson.build @@ -1399,7 +1399,7 @@ iconv = not_found curses = not_found if have_system and get_option('curses').allowed() curses_test = ''' - #if defined(__APPLE__) || defined(__OpenBSD__) + #ifdef __APPLE__ #define _XOPEN_SOURCE_EXTENDED 1 #endif #include diff --git a/ui/curses.c b/ui/curses.c index ec61615f7c1..4d0be9b37d4 100644 --- a/ui/curses.c +++ b/ui/curses.c @@ -38,7 +38,7 @@ #include "ui/input.h" #include "sysemu/sysemu.h" -#if defined(__APPLE__) || defined(__OpenBSD__) +#ifdef __APPLE__ #define _XOPEN_SOURCE_EXTENDED 1 #endif