summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-19 16:01:04 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:29 +0200
commitd0f6eab2e92aa83dbe3e167d9e915d5c094dcd35 (patch)
tree9d22e089e6c4617d2536b6afb0154f19b8637a54 /libc/sysdeps
parente941c481e708afac23851eaaf55ad6f06fd996ab (diff)
stdio.h: move __STDIO_{GETC,PUTC}_MACRO dependent part to uClibc_stdio.h
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_stdio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_stdio.h b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
index d5a522a59..db28ff763 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_stdio.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_stdio.h
@@ -470,6 +470,8 @@ extern FILE *__stdin; /* For getchar() macro. */
#else
+# define __stdin stdin
+
#endif /* __STDIO_GETC_MACRO */
@@ -529,4 +531,8 @@ extern FILE *__stdout; /* For putchar() macro. */
# endif
# endif
+#else
+
+# define __stdout stdout
+
#endif /* __STDIO_PUTC_MACRO */