diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-12-20 22:51:46 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-12-20 22:51:46 +0100 |
commit | ab4d62adbf5ee06a9ecbdb805c83c326a866b33c (patch) | |
tree | 0f9f26a991d0af425ddfa21f0fad0386629bf9a9 /lib/stdlib.in.h | |
parent | b90b4b2bf2892d868839cf599365a001999f8c15 (diff) | |
download | guile-ab4d62adbf5ee06a9ecbdb805c83c326a866b33c.tar.gz |
Update Gnulib to v0.0-4544-gce083ca.
Diffstat (limited to 'lib/stdlib.in.h')
-rw-r--r-- | lib/stdlib.in.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 04f32b6b8..1bae6c7d2 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h @@ -584,7 +584,7 @@ _GL_FUNCDECL_RPL (setenv, int, _GL_CXXALIAS_RPL (setenv, int, (const char *name, const char *value, int replace)); # else -# if !@HAVE_SETENV@ +# if !@HAVE_DECL_SETENV@ _GL_FUNCDECL_SYS (setenv, int, (const char *name, const char *value, int replace) _GL_ARG_NONNULL ((1))); @@ -592,7 +592,9 @@ _GL_FUNCDECL_SYS (setenv, int, _GL_CXXALIAS_SYS (setenv, int, (const char *name, const char *value, int replace)); # endif +# if !(@REPLACE_SETENV@ && !@HAVE_DECL_SETENV@) _GL_CXXALIASWARN (setenv); +# endif #elif defined GNULIB_POSIXCHECK # undef setenv # if HAVE_RAW_DECL_SETENV @@ -702,12 +704,14 @@ _GL_WARN_ON_USE (unlockpt, "unlockpt is not portable - " _GL_FUNCDECL_RPL (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (unsetenv, int, (const char *name)); # else -# if !@HAVE_UNSETENV@ +# if !@HAVE_DECL_UNSETENV@ _GL_FUNCDECL_SYS (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); # endif _GL_CXXALIAS_SYS (unsetenv, int, (const char *name)); # endif +# if !(@REPLACE_UNSETENV@ && !@HAVE_DECL_UNSETENV@) _GL_CXXALIASWARN (unsetenv); +# endif #elif defined GNULIB_POSIXCHECK # undef unsetenv # if HAVE_RAW_DECL_UNSETENV |