meson.build: Remove ncurses workaround for OpenBSD
PATCH 1/1 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 <[email protected]>
--- meson.build | 2 +- ui/curses.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meson.build +1 -1
@@ -1374,7 +1374,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 <locale.h>
ui/curses.c +1 -1
@@ -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
Signature · 1 line
2.46.1
Cc'ing qemu-trivial
Quoted 9 lines · Brad Smith
meson.build: Remove ncurses workaround for OpenBSD
OpenBSD 7.5 has upgraded to ncurses 6.4.
Signed-off-by Brad Smith <[email protected]>--- meson.build | 2 +- ui/curses.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Daniel P. Berrangé <[email protected]>
Quoted 19 lines
meson.build +1
-1@@ -1374,7 +1374,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 <locale.h>ui/curses.c +0
-0
ui/curses.c line 43
Quoted 7 lines
ui/curses.c +1
-1@@ -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
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Michael Tokarev
AppliedQuoted 3 lines · Brad Smith
meson.build: Remove ncurses workaround for OpenBSD
OpenBSD 7.5 has upgraded to ncurses 6.4.
Queued to qemu-trivial tree, thanks!
/mjt