diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-15 03:50:56 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-15 03:50:56 +0000 |
commit | cf677677a1a817dcdfc679372e08232bc54af9cb (patch) | |
tree | d2dc6c7b6d015eae955d86bb348bebd0d5cfe60c /fakesdio.h | |
parent | 8bfddb3de588d752d712dd22a7e2699b224f6f42 (diff) | |
download | perl-cf677677a1a817dcdfc679372e08232bc54af9cb.tar.gz |
Add few missing #undefs and sort them.
p4raw-id: //depot/perl@7698
Diffstat (limited to 'fakesdio.h')
-rw-r--r-- | fakesdio.h | 52 |
1 files changed, 24 insertions, 28 deletions
diff --git a/fakesdio.h b/fakesdio.h index 19aa0c943f..e07fd60617 100644 --- a/fakesdio.h +++ b/fakesdio.h @@ -5,42 +5,44 @@ #define _CANNOT "CANNOT" #undef FILE #define FILE PerlIO -#undef fprintf -#undef tmpfile +#undef clearerr #undef fclose -#undef fopen -#undef vfprintf +#undef fdopen +#undef feof +#undef ferror +#undef fflush #undef fgetc -#undef getc_unlocked +#undef fgetpos +#undef fgets +#undef fileno +#undef fopen +#undef fprintf #undef fputc -#undef putc_unlocked #undef fputs -#undef ungetc #undef fread -#undef fwrite -#undef fgetpos +#undef freopen +#undef fscanf #undef fseek #undef fsetpos #undef ftell -#undef rewind -#undef fdopen -#undef popen -#undef pclose +#undef fwrite +#undef getc +#undef getc_unlocked #undef getw +#undef pclose +#undef popen +#undef putc +#undef putc_unlocked #undef putw -#undef freopen +#undef rewind #undef setbuf #undef setvbuf -#undef fscanf -#undef fgets +#undef stderr #undef stdin #undef stdout -#undef stderr -#undef getc -#undef putc -#undef clearerr -#undef feof -#undef ferror +#undef tmpfile +#undef ungetc +#undef vfprintf #define fprintf PerlIO_printf #define stdin PerlIO_stdin() #define stdout PerlIO_stdout() @@ -54,14 +56,8 @@ #define fputc(c,f) PerlIO_putc(f,c) #define fputs(s,f) PerlIO_puts(f,s) #define getc(f) PerlIO_getc(f) -#ifdef getc_unlocked -#undef getc_unlocked -#endif #define getc_unlocked(f) PerlIO_getc(f) #define putc(c,f) PerlIO_putc(f,c) -#ifdef putc_unlocked -#undef putc_unlocked -#endif #define putc_unlocked(c,f) PerlIO_putc(c,f) #define ungetc(c,f) PerlIO_ungetc(f,c) #if 0 |