This commit is contained in:
Yang Tse 2005-12-20 20:29:53 +00:00
Родитель 02c7cf6fa5
Коммит df2b1251a0
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -393,8 +393,10 @@ dnl the code was bad, try a different program now, test 3
#endif
],[
/* ioctlsocket source code */
SOCKET socket;
unsigned long flags = ioctlsocket(socket, FIONBIO, &flags);
SOCKET sd;
unsigned long flags = 0;
sd = socket(0, 0, 0);
ioctlsocket(sd, FIONBIO, &flags);
],[
dnl ioctlsocket test was good
nonblock="ioctlsocket"

Просмотреть файл

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