summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-16 12:43:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:50:54 -0500
commit9a7d2f8e54e61c40738eff89b1b6b9c71ced9640 (patch)
treef31499047b2df5d8975e72f4bb6717980c25d31c /source4/lib/replace/replace.h
parent7836c2d101944edfcc2ccc2ff0d7403ca625aed1 (diff)
downloadsamba-9a7d2f8e54e61c40738eff89b1b6b9c71ced9640.tar.gz
samba-9a7d2f8e54e61c40738eff89b1b6b9c71ced9640.tar.bz2
samba-9a7d2f8e54e61c40738eff89b1b6b9c71ced9640.zip
r22263: use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work. metze (This used to be commit 99125fe76a115b237e18c6a8b73e4adffc5ffb8d)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 3b09216257..a5455be2b6 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -162,7 +162,7 @@ size_t rep_strnlen(const char *s, size_t n);
#define setenv rep_setenv
int rep_setenv(const char *name, const char *value, int overwrite);
#else
-#ifndef HAVE_DECL_SETENV
+#ifndef HAVE_SETENV_DECL
int setenv(const char *name, const char *value, int overwrite);
#endif
#endif