diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2005-01-13 11:15:04 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2005-01-13 11:15:04 +0000 |
commit | a6976ef303b62c9760c767bef2d7257bc6c78d88 (patch) | |
tree | 29cbb5d1da75d22c0543feaa33bc1706d0390809 /threadproc | |
parent | 03bb75d30b52d22adc8467154baa68bb97401eb4 (diff) | |
download | libapr-a6976ef303b62c9760c767bef2d7257bc6c78d88.tar.gz |
* acconfig.h: Remove file.
* configure.in: Use autoheader AH_BOTTOM macro to hard-code tail end
of apr_private.h.
* threadproc/unix/signals.c (apr_sigwait): Define here rather than in
apr_private.h since it's only used here.
* build/apr_common.m4 (APR_DECIDE): AC_DEFUN the macro, use
AH_TEMPLATE to define the template for apr_private.h.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@125062 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r-- | threadproc/unix/signals.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/threadproc/unix/signals.c b/threadproc/unix/signals.c index 7ecac1b97..4b8f2af97 100644 --- a/threadproc/unix/signals.c +++ b/threadproc/unix/signals.c @@ -1,4 +1,4 @@ -/* Copyright 2000-2004 The Apache Software Foundation +/* Copyright 2000-2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,12 @@ #include <pthread.h> #endif +#ifdef SIGWAIT_TAKES_ONE_ARG +#define apr_sigwait(a,b) ((*(b)=sigwait((a)))<0?-1:0) +#else +#define apr_sigwait(a,b) sigwait((a),(b)) +#endif + APR_DECLARE(apr_status_t) apr_proc_kill(apr_proc_t *proc, int signum) { #ifdef OS2 |