aboutsummaryrefslogtreecommitdiff
path: root/libio/ioputc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/ioputc.c')
-rw-r--r--libio/ioputc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/ioputc.c b/libio/ioputc.c
index 3c35c36..38a3ec9 100644
--- a/libio/ioputc.c
+++ b/libio/ioputc.c
@@ -39,4 +39,6 @@ _IO_putc (c, fp)
#ifdef weak_alias
weak_alias (_IO_putc, putc)
+#elif defined(_G_STDIO_USES_LIBIO) && defined(_G_HAVE_WEAK_SYMBOL)
+int putc (int, _IO_FILE *) __attribute__ ((weak, alias("_IO_putc")));
#endif