]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
meson.build: Remove ncurses workaround for OpenBSD
authorBrad Smith <brad@comstyle.com>
Sat, 12 Oct 2024 03:38:55 +0000 (23:38 -0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 21 Oct 2024 19:40:47 +0000 (22:40 +0300)
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>
meson.build
ui/curses.c

index d26690ce204016d43848d8a73a2d4351a620c5c2..c26c417de16ad9256a019a90fd89ea990bb3f948 100644 (file)
@@ -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 <locale.h>
index ec61615f7c1fc77548e5b517070cbede60b9c295..4d0be9b37d4880cdea1bcc6de7e52ccb4c7056ba 100644 (file)
@@ -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