about summary refs log tree commit diff
path: root/libio/iogetdelim.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iogetdelim.c')
-rw-r--r--libio/iogetdelim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/iogetdelim.c b/libio/iogetdelim.c
index b1662e4c90..8e87511c12 100644
--- a/libio/iogetdelim.c
+++ b/libio/iogetdelim.c
@@ -118,5 +118,7 @@ unlock_return:
   return result;
 }
 
+#ifdef weak_alias
 weak_alias (_IO_getdelim, __getdelim)
 weak_alias (_IO_getdelim, getdelim)
+#endif