diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-11-17 12:23:00 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-11-17 12:23:00 +0000 |
commit | adb058d116395be50ad9b820fab5e1863fcbb9cb (patch) | |
tree | 32acca30a9248f18a17db3eebd649fcc3399c134 /threadproc | |
parent | bf8ccdc2b682af3178db2f92e7e9d9ca6d02f452 (diff) | |
download | libapr-adb058d116395be50ad9b820fab5e1863fcbb9cb.tar.gz |
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/trunk@76119 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-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; |