diff options
Diffstat (limited to 'src/stdio/fputc.c')
| -rw-r--r-- | src/stdio/fputc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stdio/fputc.c b/src/stdio/fputc.c index 3123103b..1e44b85c 100644 --- a/src/stdio/fputc.c +++ b/src/stdio/fputc.c @@ -3,8 +3,9 @@ #if !defined _POSIX_C_SOURCE || _POSIX_C_SOURCE < 199506L #undef putc_unlocked +#define putc_unlocked fputc #include "putc_unlocked.c" -#endif +#else /** write a character to a file stream **/ int fputc(int c, FILE *stream) @@ -16,6 +17,8 @@ int fputc(int c, FILE *stream) return ret; } +#endif + /*** writes the character ARGUMENT(c) (converted to an TYPE(unsigned char)) to ARGUMENT(stream). The character is written at the current |
