diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-01-20 01:18:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 01:18:49 +0900 |
commit | 71bc99900914ef3bc3800a22d9221f5acf528082 (patch) | |
tree | 0bb4b676478dca663c582be86ef8bf1a68c0b814 /configure.ac | |
parent | 45e065ca8f8c3e3f89480333170a4de942d1df8f (diff) |
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5469
Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
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 |