2001-08-02 Jeff Johnston <jjohnstn@redhat.com>

* libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
        otherwise default.
This commit is contained in:
Jeff Johnston 2001-08-02 22:28:40 +00:00
parent 842c741f98
commit a7061f7f50
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
otherwise default.
2001-07-12 Aldy Hernandez <aldyh@redhat.com>
* libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.

View File

@ -87,9 +87,14 @@ typedef struct __sFILE FILE;
#define NULL 0
#endif
#define BUFSIZ 1024
#define EOF (-1)
#ifdef __BUFSIZ__
#define BUFSIZ __BUFSIZ__
#else
#define BUFSIZ 1024
#endif
#ifdef __FOPEN_MAX__
#define FOPEN_MAX __FOPEN_MAX__
#else