gnulib: add module sys_wait, for compilation on MinGW
Also, upgrade to gnulib 4af1990a0902f5914f582bade9d1aa843a291f5a. * lib/sys_wait.in.h, m4/sys_wait_h.m4: New files. * m4/sys_stat_h.m4, m4/stdlib_h.m4, m4/gnulib-comp.m4, m4/gnulib-cache.m4, lib/stdlib.in.h, lib/Makefile.am: Update.
This commit is contained in:
parent
d22fb0b61f
commit
7e79fcb4e3
8 changed files with 218 additions and 5 deletions
|
|
@ -457,10 +457,19 @@ _GL_WARN_ON_USE (posix_openpt, "posix_openpt is not portable - "
|
|||
#if @GNULIB_PTSNAME@
|
||||
/* Return the pathname of the pseudo-terminal slave associated with
|
||||
the master FD is open on, or NULL on errors. */
|
||||
# if !@HAVE_PTSNAME@
|
||||
# if @REPLACE_PTSNAME@
|
||||
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
|
||||
# undef ptsname
|
||||
# define ptsname rpl_ptsname
|
||||
# endif
|
||||
_GL_FUNCDECL_RPL (ptsname, char *, (int fd));
|
||||
_GL_CXXALIAS_RPL (ptsname, char *, (int fd));
|
||||
# else
|
||||
# if !@HAVE_PTSNAME@
|
||||
_GL_FUNCDECL_SYS (ptsname, char *, (int fd));
|
||||
# endif
|
||||
# endif
|
||||
_GL_CXXALIAS_SYS (ptsname, char *, (int fd));
|
||||
# endif
|
||||
_GL_CXXALIASWARN (ptsname);
|
||||
#elif defined GNULIB_POSIXCHECK
|
||||
# undef ptsname
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue