From f2f554ea893c1326445c8546eca02c5e65c85e04 Mon Sep 17 00:00:00 2001 From: wrowe Date: Sun, 25 Feb 2001 20:39:41 +0000 Subject: Fix the hosed #ifdef APR_HAVE_FOO_H tests, the #if HAVE_ tests, and also cleanup s/#ifdef HAVE_FOO_H/#if APR_HAVE_FOO_H/ whrere appropriate. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61303 13f79535-47bb-0310-9956-ffa450edef68 --- threadproc/unix/procsup.c | 2 +- threadproc/unix/signals.c | 2 +- threadproc/win32/signals.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'threadproc') diff --git a/threadproc/unix/procsup.c b/threadproc/unix/procsup.c index 8081e2ed1..c7f828bad 100644 --- a/threadproc/unix/procsup.c +++ b/threadproc/unix/procsup.c @@ -72,7 +72,7 @@ apr_status_t apr_proc_detach(void) } /* RAISE_SIGSTOP(DETACH);*/ #endif -#if HAVE_SETSID +#if APR_HAVE_SETSID if ((pgrp = setsid()) == -1) { return errno; } diff --git a/threadproc/unix/signals.c b/threadproc/unix/signals.c index 0b14fb1c6..335fe6624 100644 --- a/threadproc/unix/signals.c +++ b/threadproc/unix/signals.c @@ -88,7 +88,7 @@ apr_status_t apr_proc_kill(apr_proc_t *proc, int signum) } -#ifdef HAVE_SIGACTION +#if APR_HAVE_SIGACTION /* * Replace standard signal() with the more reliable sigaction equivalent diff --git a/threadproc/win32/signals.c b/threadproc/win32/signals.c index 970ea70a7..308a59c51 100644 --- a/threadproc/win32/signals.c +++ b/threadproc/win32/signals.c @@ -59,7 +59,7 @@ #include "apr_general.h" #include #include -#ifdef HAVE_SYS_WAIT +#if APR_HAVE_SYS_WAIT #include #endif -- cgit v1.2.1