diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-01-25 16:36:49 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2004-01-25 16:36:49 +0000 |
commit | 2b785d77d592721c3cf896c3e30af4cb254ab2b6 (patch) | |
tree | 92e9c745723dea93d1e55578735b469ba7bc30fc /include/arch | |
parent | f4a37e322eb7162aa47c6358ce47ff9a44c17560 (diff) | |
download | libapr-2b785d77d592721c3cf896c3e30af4cb254ab2b6.tar.gz |
* include/arch/unix/apr_arch_thread_rwlock.h: Use result of
pthread_rwlock_init check correctly.
(Possible fix for PR 22990)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@64877 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch')
-rw-r--r-- | include/arch/unix/apr_arch_thread_rwlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/arch/unix/apr_arch_thread_rwlock.h b/include/arch/unix/apr_arch_thread_rwlock.h index c19cd3710..f74266526 100644 --- a/include/arch/unix/apr_arch_thread_rwlock.h +++ b/include/arch/unix/apr_arch_thread_rwlock.h @@ -1,7 +1,7 @@ /* ==================================================================== * The Apache Software License, Version 1.1 * - * Copyright (c) 2000-2003 The Apache Software Foundation. All rights + * Copyright (c) 2000-2004 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -67,7 +67,7 @@ #endif #if APR_HAS_THREADS -#if HAVE_PTHREAD_RWLOCK_INIT +#ifdef HAVE_PTHREAD_RWLOCK_INIT struct apr_thread_rwlock_t { apr_pool_t *pool; |