aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_sockets.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_sockets.h')
-rw-r--r--src/microhttpd/mhd_sockets.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h
index d13221bc..74f5be2d 100644
--- a/src/microhttpd/mhd_sockets.h
+++ b/src/microhttpd/mhd_sockets.h
@@ -259,8 +259,9 @@
259( ( (((void*)(r) == (void*)0) || ((fd_set*)(r))->fd_count == 0) && \ 259( ( (((void*)(r) == (void*)0) || ((fd_set*)(r))->fd_count == 0) && \
260 (((void*)(w) == (void*)0) || ((fd_set*)(w))->fd_count == 0) && \ 260 (((void*)(w) == (void*)0) || ((fd_set*)(w))->fd_count == 0) && \
261 (((void*)(e) == (void*)0) || ((fd_set*)(e))->fd_count == 0) ) ? \ 261 (((void*)(e) == (void*)0) || ((fd_set*)(e))->fd_count == 0) ) ? \
262 ( ((void*)(t) == (void*)0) ? \ 262 ( ((void*)(t) == (void*)0) ? 0 : \
263 (Sleep((t)->tv_sec * 1000 + (t)->tv_usec / 1000), 0) : 0 ) : \ 263 (Sleep(((struct timeval*)(t))->tv_sec * 1000 + \
264 ((struct timeval*)(t))->tv_usec / 1000), 0) ) : \
264 (select((int)0,(r),(w),(e),(t))) ) 265 (select((int)0,(r),(w),(e),(t))) )
265#endif 266#endif
266 267