diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-04-20 15:47:19 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-04-20 16:25:16 +0200 |
commit | 20e1ba1c09631a3b1c850d9c8cbb42d863d0cb39 (patch) | |
tree | e5979a733570c217bda2d9cce309d51b10f89369 /lib/replace/replace.c | |
parent | e5233ccf9e32cd5d399f91512d7f310d43558e31 (diff) | |
download | samba-20e1ba1c09631a3b1c850d9c8cbb42d863d0cb39.tar.gz samba-20e1ba1c09631a3b1c850d9c8cbb42d863d0cb39.tar.xz samba-20e1ba1c09631a3b1c850d9c8cbb42d863d0cb39.zip |
Only define waitpid replacement if wait4 is available. (It isn't on
Windows.)
Diffstat (limited to 'lib/replace/replace.c')
-rw-r--r-- | lib/replace/replace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/replace.c b/lib/replace/replace.c index a648391b23d..be277445923 100644 --- a/lib/replace/replace.c +++ b/lib/replace/replace.c @@ -359,7 +359,7 @@ char *rep_strndup(const char *s, size_t n) } #endif -#ifndef HAVE_WAITPID +#if !defined(HAVE_WAITPID) && defined(HAVE_WAIT4) int rep_waitpid(pid_t pid,int *status,int options) { return wait4(pid, status, options, NULL); |