diff options
Diffstat (limited to 'libio/getchar.c')
-rw-r--r-- | libio/getchar.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libio/getchar.c b/libio/getchar.c index 80c297f0ae..a7a1072027 100644 --- a/libio/getchar.c +++ b/libio/getchar.c @@ -40,3 +40,8 @@ getchar () _IO_cleanup_region_end (0); return result; } + +#if defined weak_alias && !defined _IO_MTSAFE_IO +#undef getchar_unlocked +weak_alias (getchar, getchar_unlocked) +#endif |