diff options
| author | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
|---|---|---|
| committer | Vibhav Pant | 2020-08-21 14:04:35 +0530 |
| commit | f0f8d7b82492e741950c363a03b886965c91b1b0 (patch) | |
| tree | 19b716830b1ebabc0d7d75949c4e6800c0f104ad /lib/sys_select.in.h | |
| parent | 9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff) | |
| parent | c818c29771d3cb51875643b2f6c894073e429dd2 (diff) | |
| download | emacs-feature/native-comp-macos-fixes.tar.gz emacs-feature/native-comp-macos-fixes.zip | |
Merge branch 'feature/native-comp' into feature/native-comp-macos-fixesfeature/native-comp-macos-fixes
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, |