diff options
Diffstat (limited to 'libio/ferror.c')
-rw-r--r-- | libio/ferror.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libio/ferror.c b/libio/ferror.c index 855627ade6..b9a3ee8ee1 100644 --- a/libio/ferror.c +++ b/libio/ferror.c @@ -40,4 +40,9 @@ _IO_ferror (fp) #ifdef weak_alias weak_alias (_IO_ferror, ferror) + +#ifndef _IO_MTSAFE_IO +#undef ferror_unlocked +weak_alias (_IO_ferror, ferror_unlocked) +#endif #endif |