From 83210a287dd52a85e1db0fc7e171dae02a7a50dc Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 21 Dec 2021 18:33:55 +0200 Subject: [PATCH 47/47] Meson: Enable nonblocking sockets on Windows See osdn #43457 Signed-off-by: Marko Lindqvist --- gen_headers/meson_fc_config.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_headers/meson_fc_config.h.in b/gen_headers/meson_fc_config.h.in index f082dcdeae..ad8e9026ce 100644 --- a/gen_headers/meson_fc_config.h.in +++ b/gen_headers/meson_fc_config.h.in @@ -363,7 +363,7 @@ /* ioctl() available */ #mesondefine HAVE_IOCTL -#if defined(HAVE_FCNTL) || defined(HAVE_IOCTL) +#if defined(HAVE_FCNTL) || defined(HAVE_IOCTL) || defined(FREECIV_HAVE_WINSOCK) #define NONBLOCKING_SOCKETS 1 #endif -- 2.34.1