diff options
| author | Kenichi Handa | 2012-10-06 21:55:09 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2012-10-06 21:55:09 +0900 |
| commit | 16ddec7e9e6adcf615db097d9627d490ca29208c (patch) | |
| tree | 1c16b9565c9cca81ec8f5b10f0f4110340d4654a /lib/stdlib.in.h | |
| parent | 2b89bca49d55cec1a004353354a76de2972c68f3 (diff) | |
| parent | d5acb99a199d83cde1a43482709c3e9d4ec34b2f (diff) | |
| download | emacs-16ddec7e9e6adcf615db097d9627d490ca29208c.tar.gz emacs-16ddec7e9e6adcf615db097d9627d490ca29208c.zip | |
merge trunk
Diffstat (limited to 'lib/stdlib.in.h')
| -rw-r--r-- | lib/stdlib.in.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 1d67ec64c66..65558402bf3 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h | |||
| @@ -457,10 +457,19 @@ _GL_WARN_ON_USE (posix_openpt, "posix_openpt is not portable - " | |||
| 457 | #if @GNULIB_PTSNAME@ | 457 | #if @GNULIB_PTSNAME@ |
| 458 | /* Return the pathname of the pseudo-terminal slave associated with | 458 | /* Return the pathname of the pseudo-terminal slave associated with |
| 459 | the master FD is open on, or NULL on errors. */ | 459 | the master FD is open on, or NULL on errors. */ |
| 460 | # if !@HAVE_PTSNAME@ | 460 | # if @REPLACE_PTSNAME@ |
| 461 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | ||
| 462 | # undef ptsname | ||
| 463 | # define ptsname rpl_ptsname | ||
| 464 | # endif | ||
| 465 | _GL_FUNCDECL_RPL (ptsname, char *, (int fd)); | ||
| 466 | _GL_CXXALIAS_RPL (ptsname, char *, (int fd)); | ||
| 467 | # else | ||
| 468 | # if !@HAVE_PTSNAME@ | ||
| 461 | _GL_FUNCDECL_SYS (ptsname, char *, (int fd)); | 469 | _GL_FUNCDECL_SYS (ptsname, char *, (int fd)); |
| 462 | # endif | 470 | # endif |
| 463 | _GL_CXXALIAS_SYS (ptsname, char *, (int fd)); | 471 | _GL_CXXALIAS_SYS (ptsname, char *, (int fd)); |
| 472 | # endif | ||
| 464 | _GL_CXXALIASWARN (ptsname); | 473 | _GL_CXXALIASWARN (ptsname); |
| 465 | #elif defined GNULIB_POSIXCHECK | 474 | #elif defined GNULIB_POSIXCHECK |
| 466 | # undef ptsname | 475 | # undef ptsname |