about summary refs log tree commit diff
path: root/libio/feof.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/feof.c')
-rw-r--r--libio/feof.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libio/feof.c b/libio/feof.c
index d06de044fb..74074263ad 100644
--- a/libio/feof.c
+++ b/libio/feof.c
@@ -40,4 +40,9 @@ _IO_feof (fp)
 
 #ifdef weak_alias
 weak_alias (_IO_feof, feof)
+
+#ifndef _IO_MTSAFE_IO
+#undef feof_unlocked
+weak_alias (_IO_feof, feof_unlocked)
+#endif
 #endif