mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-12 01:26:48 +08:00
updated gnulib
This commit is contained in:
+14
-2
@@ -116,6 +116,9 @@
|
||||
# include <getopt.h>
|
||||
#endif
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef _GL_UNISTD_INLINE
|
||||
# define _GL_UNISTD_INLINE _GL_INLINE
|
||||
@@ -651,10 +654,19 @@ _GL_WARN_ON_USE (getdomainname, "getdomainname is unportable - "
|
||||
#if @GNULIB_GETDTABLESIZE@
|
||||
/* Return the maximum number of file descriptors in the current process.
|
||||
In POSIX, this is same as sysconf (_SC_OPEN_MAX). */
|
||||
# if !@HAVE_GETDTABLESIZE@
|
||||
# if @REPLACE_GETDTABLESIZE@
|
||||
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
|
||||
# undef getdtablesize
|
||||
# define getdtablesize rpl_getdtablesize
|
||||
# endif
|
||||
_GL_FUNCDECL_RPL (getdtablesize, int, (void));
|
||||
_GL_CXXALIAS_RPL (getdtablesize, int, (void));
|
||||
# else
|
||||
# if !@HAVE_GETDTABLESIZE@
|
||||
_GL_FUNCDECL_SYS (getdtablesize, int, (void));
|
||||
# endif
|
||||
# endif
|
||||
_GL_CXXALIAS_SYS (getdtablesize, int, (void));
|
||||
# endif
|
||||
_GL_CXXALIASWARN (getdtablesize);
|
||||
#elif defined GNULIB_POSIXCHECK
|
||||
# undef getdtablesize
|
||||
|
||||
Reference in New Issue
Block a user