aboutsummaryrefslogtreecommitdiff
path: root/lib/warnless.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/warnless.h')
-rw-r--r--lib/warnless.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/warnless.h b/lib/warnless.h
index 7b9bd3c7f..a27c7d32c 100644
--- a/lib/warnless.h
+++ b/lib/warnless.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -38,4 +38,20 @@ ssize_t curlx_uztosz(size_t uznum);
size_t curlx_sotouz(curl_off_t sonum);
+#if defined(__INTEL_COMPILER) && defined(__unix__)
+
+int curlx_FD_ISSET(int fd, fd_set *fdset);
+
+void curlx_FD_SET(int fd, fd_set *fdset);
+
+void curlx_FD_ZERO(fd_set *fdset);
+
+#ifndef BUILDING_WARNLESS_C
+# define FD_ISSET(a,b) curlx_FD_ISSET((a),(b))
+# define FD_SET(a,b) curlx_FD_SET((a),(b))
+# define FD_ZERO(a) curlx_FD_ZERO((a))
+#endif
+
+#endif /* __INTEL_COMPILER && __unix__ */
+
#endif /* HEADER_CURL_WARNLESS_H */