summaryrefslogtreecommitdiff
path: root/lib/replace/replace.c
diff options
context:
space:
mode:
authorbubulle <bubulle@alioth.debian.org>2012-12-12 21:11:47 +0000
committerbubulle <bubulle@alioth.debian.org>2012-12-12 21:11:47 +0000
commit63f07bb10f08040c39530bdc6aaea46c7c0ac9dd (patch)
tree72e23ab4ded614b11b21fb13aea9f8eb58727a65 /lib/replace/replace.c
parent2cf876031f5616a1de04777c978d7847887b45ac (diff)
downloadsamba-63f07bb10f08040c39530bdc6aaea46c7c0ac9dd.tar.gz
Load samba-3.6.10 into branches/samba/upstream.upstream/3.6.10
git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/upstream@4179 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'lib/replace/replace.c')
-rw-r--r--lib/replace/replace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/replace/replace.c b/lib/replace/replace.c
index d9a96ff8ef..83fa6b3371 100644
--- a/lib/replace/replace.c
+++ b/lib/replace/replace.c
@@ -750,7 +750,7 @@ void *rep_memmem(const void *haystack, size_t haystacklen,
}
#endif
-#ifndef HAVE_VDPRINTF
+#if !defined(HAVE_VDPRINTF) || !defined(HAVE_C99_VSNPRINTF)
int rep_vdprintf(int fd, const char *format, va_list ap)
{
char *s = NULL;
@@ -767,7 +767,7 @@ int rep_vdprintf(int fd, const char *format, va_list ap)
}
#endif
-#ifndef HAVE_DPRINTF
+#if !defined(HAVE_DPRINTF) || !defined(HAVE_C99_VSNPRINTF)
int rep_dprintf(int fd, const char *format, ...)
{
int ret;