about summary refs log tree commit diff
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
parent51df989ed66d5ab09ffb29bc45164561d7b27136 (diff)
downloadglibc-82ad8034aa1f812bf221ab0d2fc2fc55e2d44654.tar.gz
glibc-82ad8034aa1f812bf221ab0d2fc2fc55e2d44654.tar.xz
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.
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/sysdeps/pthread/bits/libc-lock.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 65a2077939..5cbf82783b 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
 2001-08-23  Roland McGrath  <roland@frob.com>
 
 	* sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_region_start): Take
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;