diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-17 16:02:02 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-17 16:02:02 +0000 |
commit | 3893e7e397b3932a3e6e604d2e7a82b260a1133e (patch) | |
tree | 77fb160e681ce491cee7b59b8b72f83b94856a27 /libc | |
parent | d45ac37b85ba043110f9ce88c7f56dab40610b2b (diff) |
Build if GETC_MACRO use is disabled
Diffstat (limited to 'libc')
-rw-r--r-- | libc/stdio/gets.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |