1
0
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:
Yang Tse 2005-12-20 00:27:59 +00:00
parent f448168501
commit 7b488a3bef
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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