aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/pthread
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-27 05:32:49 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-27 05:32:49 +0000
commit82ad8034aa1f812bf221ab0d2fc2fc55e2d44654 (patch)
tree6e1f2d95e47cd19a925f297459b3be3406650026 /linuxthreads/sysdeps/pthread
parent51df989ed66d5ab09ffb29bc45164561d7b27136 (diff)
downloadglibc-82ad8034aa1f812bf221ab0d2fc2fc55e2d44654.tar
glibc-82ad8034aa1f812bf221ab0d2fc2fc55e2d44654.tar.gz
glibc-82ad8034aa1f812bf221ab0d2fc2fc55e2d44654.tar.bz2
glibc-82ad8034aa1f812bf221ab0d2fc2fc55e2d44654.zip
Update.
2001-08-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__libc_lock_t): Define non-opaque lock types also if _IO_MTSAFE_IO is defined.
Diffstat (limited to 'linuxthreads/sysdeps/pthread')
-rw-r--r--linuxthreads/sysdeps/pthread/bits/libc-lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/pthread/bits/libc-lock.h b/linuxthreads/sysdeps/pthread/bits/libc-lock.h
index 866e89d510..02dfc91692 100644
--- a/linuxthreads/sysdeps/pthread/bits/libc-lock.h
+++ b/linuxthreads/sysdeps/pthread/bits/libc-lock.h
@@ -23,7 +23,7 @@
#include <pthread.h>
/* Mutex type. */
-#ifdef _LIBC
+#if defined(_LIBC) || defined(_IO_MTSAFE_IO)
typedef pthread_mutex_t __libc_lock_t;
typedef pthread_rwlock_t __libc_rwlock_t;
typedef struct { pthread_mutex_t mutex; } __libc_lock_recursive_t;