diff options
Diffstat (limited to 'lib/sys_select.in.h')
| -rw-r--r-- | lib/sys_select.in.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sys_select.in.h b/lib/sys_select.in.h index 7a7b157d545..72cb9ba7b0f 100644 --- a/lib/sys_select.in.h +++ b/lib/sys_select.in.h | |||
| @@ -177,14 +177,14 @@ rpl_fd_isset (SOCKET fd, fd_set * set) | |||
| 177 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | 177 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
| 178 | # undef close | 178 | # undef close |
| 179 | # define close close_used_without_including_unistd_h | 179 | # define close close_used_without_including_unistd_h |
| 180 | # else | 180 | # elif !defined __clang__ |
| 181 | _GL_WARN_ON_USE (close, | 181 | _GL_WARN_ON_USE (close, |
| 182 | "close() used without including <unistd.h>"); | 182 | "close() used without including <unistd.h>"); |
| 183 | # endif | 183 | # endif |
| 184 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | 184 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
| 185 | # undef gethostname | 185 | # undef gethostname |
| 186 | # define gethostname gethostname_used_without_including_unistd_h | 186 | # define gethostname gethostname_used_without_including_unistd_h |
| 187 | # else | 187 | # elif !defined __clang__ |
| 188 | _GL_WARN_ON_USE (gethostname, | 188 | _GL_WARN_ON_USE (gethostname, |
| 189 | "gethostname() used without including <unistd.h>"); | 189 | "gethostname() used without including <unistd.h>"); |
| 190 | # endif | 190 | # endif |
| @@ -219,7 +219,7 @@ rpl_fd_isset (SOCKET fd, fd_set * set) | |||
| 219 | # define setsockopt setsockopt_used_without_including_sys_socket_h | 219 | # define setsockopt setsockopt_used_without_including_sys_socket_h |
| 220 | # undef shutdown | 220 | # undef shutdown |
| 221 | # define shutdown shutdown_used_without_including_sys_socket_h | 221 | # define shutdown shutdown_used_without_including_sys_socket_h |
| 222 | # else | 222 | # elif !defined __clang__ |
| 223 | _GL_WARN_ON_USE (socket, | 223 | _GL_WARN_ON_USE (socket, |
| 224 | "socket() used without including <sys/socket.h>"); | 224 | "socket() used without including <sys/socket.h>"); |
| 225 | _GL_WARN_ON_USE (connect, | 225 | _GL_WARN_ON_USE (connect, |