summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-02-25 20:39:41 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-02-25 20:39:41 +0000
commitf2f554ea893c1326445c8546eca02c5e65c85e04 (patch)
treea3e2e599ce12612d3dee4b8692c03509a4ca0fa7 /threadproc
parent60d7c3aed3968f82f261c822e236427fc7242a15 (diff)
downloadlibapr-f2f554ea893c1326445c8546eca02c5e65c85e04.tar.gz
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
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/unix/procsup.c2
-rw-r--r--threadproc/unix/signals.c2
-rw-r--r--threadproc/win32/signals.c2
3 files changed, 3 insertions, 3 deletions
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 <signal.h>
#include <string.h>
-#ifdef HAVE_SYS_WAIT
+#if APR_HAVE_SYS_WAIT
#include <sys/wait.h>
#endif