diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-08-02 22:28:40 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-08-02 22:28:40 +0000 |
commit | a7061f7f5064648b795c5e6a3bb18dfd1bbca5a5 (patch) | |
tree | da2173ba1e65819945c9d2bccd052a8b1dad4767 /newlib/libc/include/stdio.h | |
parent | 842c741f9821834c2a6220f0a704c30e214598b7 (diff) | |
download | cygnal-a7061f7f5064648b795c5e6a3bb18dfd1bbca5a5.tar.gz cygnal-a7061f7f5064648b795c5e6a3bb18dfd1bbca5a5.tar.bz2 cygnal-a7061f7f5064648b795c5e6a3bb18dfd1bbca5a5.zip |
2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
otherwise default.
Diffstat (limited to 'newlib/libc/include/stdio.h')
-rw-r--r-- | newlib/libc/include/stdio.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h index a03dcb17f..9fb9451e4 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -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 |