From d0f6eab2e92aa83dbe3e167d9e915d5c094dcd35 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 19 Mar 2011 16:01:04 +0100 Subject: stdio.h: move __STDIO_{GETC,PUTC}_MACRO dependent part to uClibc_stdio.h Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/bits/uClibc_stdio.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libc/sysdeps/linux/common/bits/uClibc_stdio.h') 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 */ -- cgit v1.2.3