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 <brad@comstyle.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
c11aaaaef1
commit
f8d3116fdd
@ -1399,7 +1399,7 @@ iconv = not_found
|
|||||||
curses = not_found
|
curses = not_found
|
||||||
if have_system and get_option('curses').allowed()
|
if have_system and get_option('curses').allowed()
|
||||||
curses_test = '''
|
curses_test = '''
|
||||||
#if defined(__APPLE__) || defined(__OpenBSD__)
|
#ifdef __APPLE__
|
||||||
#define _XOPEN_SOURCE_EXTENDED 1
|
#define _XOPEN_SOURCE_EXTENDED 1
|
||||||
#endif
|
#endif
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#include "ui/input.h"
|
#include "ui/input.h"
|
||||||
#include "sysemu/sysemu.h"
|
#include "sysemu/sysemu.h"
|
||||||
|
|
||||||
#if defined(__APPLE__) || defined(__OpenBSD__)
|
#ifdef __APPLE__
|
||||||
#define _XOPEN_SOURCE_EXTENDED 1
|
#define _XOPEN_SOURCE_EXTENDED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user