aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-05-25 09:56:57 +0200
committerYang Tse <yangsita@gmail.com>2011-05-25 09:56:57 +0200
commita947a9ac621d08f80fd4004b7ff8ed872d471d80 (patch)
treefaf514326efc49eccd480561ee7121217aa06906 /lib
parent9b5343054af4be20f8fd9deafcc11a3139835c74 (diff)
compiler warning: fix followup
Fix compiler warning: variable was set but never used Fix compiler warning: clobber ignored
Diffstat (limited to 'lib')
-rw-r--r--lib/warnless.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/warnless.h b/lib/warnless.h
index a27c7d32c..dfa16ef29 100644
--- a/lib/warnless.h
+++ b/lib/warnless.h
@@ -47,8 +47,11 @@ void curlx_FD_SET(int fd, fd_set *fdset);
void curlx_FD_ZERO(fd_set *fdset);
#ifndef BUILDING_WARNLESS_C
+# undef FD_ISSET
# define FD_ISSET(a,b) curlx_FD_ISSET((a),(b))
+# undef FD_SET
# define FD_SET(a,b) curlx_FD_SET((a),(b))
+# undef FD_ZERO
# define FD_ZERO(a) curlx_FD_ZERO((a))
#endif