diff options
Diffstat (limited to 'lib/stdlib.in.h')
| -rw-r--r-- | lib/stdlib.in.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index e088959b285..49bbf6fccfb 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h | |||
| @@ -201,6 +201,10 @@ _GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name) | |||
| 201 | # endif | 201 | # endif |
| 202 | _GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); | 202 | _GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); |
| 203 | # endif | 203 | # endif |
| 204 | # ifndef GNULIB_defined_canonicalize_file_name | ||
| 205 | # define GNULIB_defined_canonicalize_file_name \ | ||
| 206 | (!@HAVE_CANONICALIZE_FILE_NAME@ || @REPLACE_CANONICALIZE_FILE_NAME@) | ||
| 207 | # endif | ||
| 204 | _GL_CXXALIASWARN (canonicalize_file_name); | 208 | _GL_CXXALIASWARN (canonicalize_file_name); |
| 205 | #elif defined GNULIB_POSIXCHECK | 209 | #elif defined GNULIB_POSIXCHECK |
| 206 | # undef canonicalize_file_name | 210 | # undef canonicalize_file_name |
| @@ -516,6 +520,9 @@ _GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); | |||
| 516 | # endif | 520 | # endif |
| 517 | _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); | 521 | _GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); |
| 518 | # endif | 522 | # endif |
| 523 | # ifndef GNULIB_defined_ptsname_r | ||
| 524 | # define GNULIB_defined_ptsname_r (!@HAVE_PTSNAME_R@ || @REPLACE_PTSNAME_R@) | ||
| 525 | # endif | ||
| 519 | _GL_CXXALIASWARN (ptsname_r); | 526 | _GL_CXXALIASWARN (ptsname_r); |
| 520 | #elif defined GNULIB_POSIXCHECK | 527 | #elif defined GNULIB_POSIXCHECK |
| 521 | # undef ptsname_r | 528 | # undef ptsname_r |