mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
Use native type SOCKET instead of int when testing functionality of ioctlsocket on Windows
This commit is contained in:
parent
f448168501
commit
7b488a3bef
@ -372,7 +372,7 @@ dnl the code was bad, try a different program now, test 3
|
|||||||
#endif
|
#endif
|
||||||
],[
|
],[
|
||||||
/* ioctlsocket source code */
|
/* ioctlsocket source code */
|
||||||
int socket;
|
SOCKET socket;
|
||||||
unsigned long flags = ioctlsocket(socket, FIONBIO, &flags);
|
unsigned long flags = ioctlsocket(socket, FIONBIO, &flags);
|
||||||
],[
|
],[
|
||||||
dnl ioctlsocket test was good
|
dnl ioctlsocket test was good
|
||||||
|
@ -372,7 +372,7 @@ dnl the code was bad, try a different program now, test 3
|
|||||||
#endif
|
#endif
|
||||||
],[
|
],[
|
||||||
/* ioctlsocket source code */
|
/* ioctlsocket source code */
|
||||||
int socket;
|
SOCKET socket;
|
||||||
unsigned long flags = ioctlsocket(socket, FIONBIO, &flags);
|
unsigned long flags = ioctlsocket(socket, FIONBIO, &flags);
|
||||||
],[
|
],[
|
||||||
dnl ioctlsocket test was good
|
dnl ioctlsocket test was good
|
||||||
|
Loading…
x
Reference in New Issue
Block a user