diff options
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/bits/uClibc_stdio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_stdio.h b/libc/sysdeps/linux/common/bits/uClibc_stdio.h index a8ca34c9b..cd278c13c 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_stdio.h +++ b/libc/sysdeps/linux/common/bits/uClibc_stdio.h @@ -217,12 +217,16 @@ pthread_mutex_trylock(&(STREAM)->lock); \ } +#define __STDIO_SET_USER_LOCKING(STREAM) ((STREAM)->user_locking = 1) + #else /* __STDIO_THREADSAFE */ #define __STDIO_THREADLOCK(STREAM) #define __STDIO_THREADUNLOCK(STREAM) #define __STDIO_THREADTRYLOCK(STREAM) +#define __STDIO_SET_USER_LOCKING(STREAM) + #endif /* __STDIO_THREADSAFE */ /* This file may eventually have two personalities: |