From 71bc99900914ef3bc3800a22d9221f5acf528082 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 20 Jan 2022 01:18:49 +0900 Subject: [PATCH] MinGW also uses `rb_w32_shutdown` Winsock's `shutdown` is incompatible with the other platforms. And autoconf fails to detect WINAPI functions on 32bit Windows, probably due to the argument size suffixes. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 4dbfa7232f..09b9bd6eb0 100644 --- a/configure.ac +++ b/configure.ac @@ -1158,6 +1158,7 @@ main() ac_cv_func_lchown=yes ac_cv_func_link=yes ac_cv_func_readlink=yes + ac_cv_func_shutdown=yes ac_cv_func_symlink=yes ac_cv_lib_crypt_crypt=no ac_cv_func_getpgrp_void=no