summary refs log tree commit diff
path: root/libio/iosetbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iosetbuffer.c')
-rw-r--r--libio/iosetbuffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/iosetbuffer.c b/libio/iosetbuffer.c
index 09751afdab..8921887985 100644
--- a/libio/iosetbuffer.c
+++ b/libio/iosetbuffer.c
@@ -40,4 +40,6 @@ _IO_setbuffer (fp, buf, size)
   _IO_cleanup_region_end (1);
 }
 
+#ifdef weak_alias
 weak_alias (_IO_setbuffer, setbuffer)
+#endif