diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-11-17 13:26:15 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-11-17 13:26:15 +0000 |
commit | 8e7a32e32e1003ca72cdd912d86f6ebba76b555c (patch) | |
tree | 6b7a4c3ba323be9dc66d21a8c546dffe4cdcf8ed | |
parent | 55438bfda16c8c322787d84261ac831428848fb3 (diff) | |
download | libapr-8e7a32e32e1003ca72cdd912d86f6ebba76b555c.tar.gz |
Merge r76119 from trunk:
Fix enabling of signal blocking and unblocking code.
* apr/threadproc/unix/signals.c
(apr_signal_block, apr_signal_unblock): Test the correct symbol, so that
these functions will actually be implemented on appropriate platforms.
Submitted by: Julian Foad <julianfoad btopenworld.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.0.x@76126 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | threadproc/unix/signals.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/threadproc/unix/signals.c b/threadproc/unix/signals.c index 3cafd8532..85b8ef053 100644 --- a/threadproc/unix/signals.c +++ b/threadproc/unix/signals.c @@ -427,7 +427,7 @@ APR_DECLARE(apr_status_t) apr_setup_signal_thread(void) APR_DECLARE(apr_status_t) apr_signal_block(int signum) { -#if APR_HAS_SIGACTION +#if APR_HAVE_SIGACTION sigset_t sig_mask; int rv; @@ -454,7 +454,7 @@ APR_DECLARE(apr_status_t) apr_signal_block(int signum) APR_DECLARE(apr_status_t) apr_signal_unblock(int signum) { -#if APR_HAS_SIGACTION +#if APR_HAVE_SIGACTION sigset_t sig_mask; int rv; |