From 3893e7e397b3932a3e6e604d2e7a82b260a1133e Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 17 Jan 2006 16:02:02 +0000 Subject: Build if GETC_MACRO use is disabled --- libc/stdio/gets.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc') diff --git a/libc/stdio/gets.c b/libc/stdio/gets.c index fd084c90c..5ff7869dc 100644 --- a/libc/stdio/gets.c +++ b/libc/stdio/gets.c @@ -13,7 +13,11 @@ link_warning(gets, "the 'gets' function is dangerous and should not be used.") libc_hidden_proto(getchar_unlocked) libc_hidden_proto(__fgetc_unlocked) +#ifdef __STDIO_GETC_MACRO libc_hidden_proto(__stdin) +#else +#define __stdin stdin +#endif char *gets(char *s) { -- cgit v1.2.3