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
],[
/* ioctlsocket source code */
int socket;
SOCKET socket;
unsigned long flags = ioctlsocket(socket, FIONBIO, &flags);
],[
dnl ioctlsocket test was good

View File

@ -372,7 +372,7 @@ dnl the code was bad, try a different program now, test 3
#endif
],[
/* ioctlsocket source code */
int socket;
SOCKET socket;
unsigned long flags = ioctlsocket(socket, FIONBIO, &flags);
],[
dnl ioctlsocket test was good