projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a50414f
)
Use correct 3rd argument for ioctlsocket() under Watt-32.
author
Gisle Vanem
<gvanem@broadpark.no>
Sun, 4 Feb 2007 13:34:34 +0000
(13:34 +0000)
committer
Gisle Vanem
<gvanem@broadpark.no>
Sun, 4 Feb 2007 13:34:34 +0000
(13:34 +0000)
ares/ares_process.c
patch
|
blob
|
history
diff --git
a/ares/ares_process.c
b/ares/ares_process.c
index
4b4ff35
..
f6669ca
100644
(file)
--- a/
ares/ares_process.c
+++ b/
ares/ares_process.c
@@
-557,8
+557,12
@@
static int nonblock(ares_socket_t sockfd, /* operate on this */
#endif
#if defined(HAVE_IOCTLSOCKET) && (SETBLOCK == 0)
+#ifdef WATT32
+ char flags;
+#else
/* Windows? */
unsigned long flags;
+#endif
flags = nonblock;
return ioctlsocket(sockfd, FIONBIO, &flags);