From: Ulrich Drepper Date: Mon, 27 Aug 2001 05:32:49 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2-2-5~345 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82ad8034aa1f812bf221ab0d2fc2fc55e2d44654;p=thirdparty%2Fglibc.git Update. 2001-08-26 Jakub Jelinek * sysdeps/pthread/bits/libc-lock.h (__libc_lock_t): Define non-opaque lock types also if _IO_MTSAFE_IO is defined. --- diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 65a20779399..5cbf82783bf 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,8 @@ +2001-08-26 Jakub Jelinek + + * 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 * 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 866e89d5102..02dfc916925 100644 --- a/linuxthreads/sysdeps/pthread/bits/libc-lock.h +++ b/linuxthreads/sysdeps/pthread/bits/libc-lock.h @@ -23,7 +23,7 @@ #include /* 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;