diff options
author | Yang Tse <yangsita@gmail.com> | 2005-12-20 00:27:59 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2005-12-20 00:27:59 +0000 |
commit | 7b488a3befb0483e719f2751c4749e4b629921e5 (patch) | |
tree | 801d99642aac75ed05d8c95898f01a8b15cb34d5 | |
parent | f44816850136da6495ff7516e1d0875fdaf1d71a (diff) |
Use native type SOCKET instead of int when testing functionality of ioctlsocket on Windows
-rw-r--r-- | acinclude.m4 | 2 | ||||
-rw-r--r-- | ares/acinclude.m4 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index a7a84b444..63183c751 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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 diff --git a/ares/acinclude.m4 b/ares/acinclude.m4 index a6cd87a9a..de7f25079 100644 --- a/ares/acinclude.m4 +++ b/ares/acinclude.m4 @@ -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 |