diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-12-16 11:58:24 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-12-16 11:58:24 +0100 |
commit | 0daee2e0dd9904d9e85044d181553dfab81e426d (patch) | |
tree | 325665aecdd94c3cc63e43e24d62e6dde3891978 /gl/sys_socket.in.h | |
parent | f9f5a817c619af57d19eb49b9c6091118d6165e2 (diff) | |
download | gnutls-0daee2e0dd9904d9e85044d181553dfab81e426d.tar.gz |
updated gnulib
Diffstat (limited to 'gl/sys_socket.in.h')
-rw-r--r-- | gl/sys_socket.in.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gl/sys_socket.in.h b/gl/sys_socket.in.h index f2eda0c3b3..bbf533df15 100644 --- a/gl/sys_socket.in.h +++ b/gl/sys_socket.in.h @@ -63,6 +63,11 @@ #ifndef _@GUARD_PREFIX@_SYS_SOCKET_H #define _@GUARD_PREFIX@_SYS_SOCKET_H +_GL_INLINE_HEADER_BEGIN +#ifndef _GL_SYS_SOCKET_INLINE +# define _GL_SYS_SOCKET_INLINE _GL_INLINE +#endif + /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ /* The definition of _GL_ARG_NONNULL is copied here. */ @@ -201,7 +206,7 @@ struct msghdr { /* Re-define FD_ISSET to avoid a WSA call while we are not using network sockets. */ -static inline int +_GL_SYS_SOCKET_INLINE int rpl_fd_isset (SOCKET fd, fd_set * set) { u_int i; @@ -677,6 +682,8 @@ _GL_WARN_ON_USE (accept4, "accept4 is unportable - " # endif #endif +_GL_INLINE_HEADER_END + #endif /* _@GUARD_PREFIX@_SYS_SOCKET_H */ #endif /* _@GUARD_PREFIX@_SYS_SOCKET_H */ #endif |