diff options
Diffstat (limited to 'libio/getc.c')
-rw-r--r-- | libio/getc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libio/getc.c b/libio/getc.c index 6ccef99..b58ea99 100644 --- a/libio/getc.c +++ b/libio/getc.c @@ -47,4 +47,10 @@ _IO_getc (fp) #ifdef weak_alias weak_alias (_IO_getc, getc) weak_alias (_IO_getc, fgetc) + +#ifndef _IO_MTSAFE_IO +#undef getc_unlocked +weak_alias (_IO_getc, getc_unlocked) +weak_alias (_IO_getc, fgetc_unlocked) +#endif #endif |