~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/sys_socket.in.h

  • Committer: Colin Watson
  • Date: 2013-10-30 15:48:33 UTC
  • mfrom: (8.3.5 sid)
  • Revision ID: cjwatson@canonical.com-20131030154833-xdt6e1yfffqom1c4
merge from Debian 8.21-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Provide a sys/socket header file for systems lacking it (read: MinGW)
2
2
   and for systems where it is incomplete.
3
 
   Copyright (C) 2005-2012 Free Software Foundation, Inc.
 
3
   Copyright (C) 2005-2013 Free Software Foundation, Inc.
4
4
   Written by Simon Josefsson.
5
5
 
6
6
   This program is free software; you can redistribute it and/or modify
63
63
#ifndef _@GUARD_PREFIX@_SYS_SOCKET_H
64
64
#define _@GUARD_PREFIX@_SYS_SOCKET_H
65
65
 
 
66
_GL_INLINE_HEADER_BEGIN
 
67
#ifndef _GL_SYS_SOCKET_INLINE
 
68
# define _GL_SYS_SOCKET_INLINE _GL_INLINE
 
69
#endif
 
70
 
66
71
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
67
72
 
68
73
/* The definition of _GL_ARG_NONNULL is copied here.  */
201
206
 
202
207
/* Re-define FD_ISSET to avoid a WSA call while we are not using
203
208
   network sockets.  */
204
 
static inline int
 
209
_GL_SYS_SOCKET_INLINE int
205
210
rpl_fd_isset (SOCKET fd, fd_set * set)
206
211
{
207
212
  u_int i;
677
682
# endif
678
683
#endif
679
684
 
 
685
_GL_INLINE_HEADER_END
 
686
 
680
687
#endif /* _@GUARD_PREFIX@_SYS_SOCKET_H */
681
688
#endif /* _@GUARD_PREFIX@_SYS_SOCKET_H */
682
689
#endif