summaryrefslogtreecommitdiff
path: root/libio/stdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/stdio.c')
-rw-r--r--libio/stdio.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libio/stdio.c b/libio/stdio.c
index 3ff825241b..33292f0429 100644
--- a/libio/stdio.c
+++ b/libio/stdio.c
@@ -37,12 +37,10 @@ _IO_FILE *stderr = (FILE *) &_IO_2_1_stderr_;
#undef _IO_stdin
#undef _IO_stdout
#undef _IO_stderr
-#ifdef _LIBC
-# define AL(name) AL2 (name, _IO_##name)
-# define AL2(name, al) \
+#define AL(name) AL2 (name, _IO_##name)
+#define AL2(name, al) \
extern __typeof (name) al __attribute__ ((alias (#name), \
visibility ("hidden")))
AL(stdin);
AL(stdout);
AL(stderr);
-#endif