diff options
Diffstat (limited to 'nptl/sysdeps/pthread/bits/stdio-lock.h')
-rw-r--r-- | nptl/sysdeps/pthread/bits/stdio-lock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/sysdeps/pthread/bits/stdio-lock.h b/nptl/sysdeps/pthread/bits/stdio-lock.h index 686d88b344..2cda6e549f 100644 --- a/nptl/sysdeps/pthread/bits/stdio-lock.h +++ b/nptl/sysdeps/pthread/bits/stdio-lock.h @@ -26,7 +26,11 @@ /* The locking here is very inexpensive, even for inlining. */ #define _IO_lock_inexpensive 1 +#ifndef lll_define typedef struct { int lock; int cnt; void *owner; } _IO_lock_t; +#else +typedef struct { lll_define (, lock); int cnt; void *owner; } _IO_lock_t; +#endif #define _IO_lock_initializer { LLL_LOCK_INITIALIZER, 0, NULL } |