summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAndrea Pappacoda <andrea@pappacoda.it>2021-07-11 00:49:58 +0200
committerJay Satiro <raysatiro@yahoo.com>2021-07-16 13:37:05 -0400
commitaf1ee130f8834c3c770dd2948288b973ef440e91 (patch)
tree9be515736b5bbdc9bcf903e9adcafdb045cfe47f /m4
parent29c7cf79e8b44cfe98306a41a766d10e98c13d2b (diff)
downloadcurl-af1ee130f8834c3c770dd2948288b973ef440e91.tar.gz
build: fix IoctlSocket FIONBIO check
Prior to this change HAVE_IOCTLSOCKET_CAMEL_FIONBIO mistakenly checked for (lowercase) ioctlsocket when it should have checked for IoctlSocket. Closes https://github.com/curl/curl/pull/7375
Diffstat (limited to 'm4')
-rw-r--r--m4/curl-functions.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index d8e3e2858..d3ffaea9f 100644
--- a/m4/curl-functions.m4
+++ b/m4/curl-functions.m4
@@ -3915,7 +3915,7 @@ AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO], [
$curl_includes_stropts
]],[[
long flags = 0;
- if(0 != ioctlsocket(0, FIONBIO, &flags))
+ if(0 != IoctlSocket(0, FIONBIO, &flags))
return 1;
]])
],[