diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-06-10 13:50:01 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-06-10 13:50:01 +0000 |
commit | 287c6ca001a9df4921663b5598abd7f6ceee2086 (patch) | |
tree | 6d254d6912229ab19b1b94b4f91df054f74d25eb /memory | |
parent | 528947bf76452888723f433676229ed918d9a1a3 (diff) | |
download | libapr-287c6ca001a9df4921663b5598abd7f6ceee2086.tar.gz |
move some deprecated functions inside a check for APR_HAS_THREADS
so a non-thread-capable APR can build
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63486 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory')
-rw-r--r-- | memory/unix/apr_pools.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c index 6a2f2da93..e9afb0b39 100644 --- a/memory/unix/apr_pools.c +++ b/memory/unix/apr_pools.c @@ -2213,6 +2213,7 @@ APR_DECLARE(apr_pool_t *) apr_allocator_get_owner( return apr_allocator_owner_get(allocator); } +#if APR_HAS_THREADS /* Deprecated */ APR_DECLARE(apr_thread_mutex_t *) apr_allocator_get_mutex( apr_allocator_t *allocator) @@ -2226,3 +2227,5 @@ APR_DECLARE(void) apr_allocator_set_mutex(apr_allocator_t *allocator, { apr_allocator_mutex_set(allocator, mutex); } +#endif /* APR_HAS_THREADS */ + |