mirror of https://github.com/moparisthebest/curl
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
This commit is contained in:
parent
29c7cf79e8
commit
af1ee130f8
|
@ -298,7 +298,7 @@ main ()
|
||||||
|
|
||||||
/* IoctlSocket source code */
|
/* IoctlSocket source code */
|
||||||
long flags = 0;
|
long flags = 0;
|
||||||
if(0 != ioctlsocket(0, FIONBIO, &flags))
|
if(0 != IoctlSocket(0, FIONBIO, &flags))
|
||||||
return 1;
|
return 1;
|
||||||
;
|
;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -3915,7 +3915,7 @@ AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO], [
|
||||||
$curl_includes_stropts
|
$curl_includes_stropts
|
||||||
]],[[
|
]],[[
|
||||||
long flags = 0;
|
long flags = 0;
|
||||||
if(0 != ioctlsocket(0, FIONBIO, &flags))
|
if(0 != IoctlSocket(0, FIONBIO, &flags))
|
||||||
return 1;
|
return 1;
|
||||||
]])
|
]])
|
||||||
],[
|
],[
|
||||||
|
|
Loading…
Reference in New Issue