diff options
| author | John Birrell <jb@FreeBSD.org> | 2008-03-26 23:43:11 +0000 |
|---|---|---|
| committer | John Birrell <jb@FreeBSD.org> | 2008-03-26 23:43:11 +0000 |
| commit | 2c2f4a605d5ce7bb3bec57e1de85dd230b0be976 (patch) | |
| tree | 729cf904640f2d9497a5c896d2ca57db165799ca | |
| parent | cbdcc7cb91b22d7a9f65f237da0ed1eeb8365f4a (diff) | |
Notes
| -rw-r--r-- | include/stdio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h index 348db22e181c..2a682b81b517 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -181,7 +181,9 @@ __END_DECLS * (which could fail). Do not use this for anything. */ /* must be == _POSIX_STREAM_MAX <limits.h> */ +#ifndef FOPEN_MAX #define FOPEN_MAX 20 /* must be <= OPEN_MAX <sys/syslimits.h> */ +#endif #define FILENAME_MAX 1024 /* must be <= PATH_MAX <sys/syslimits.h> */ /* System V/ANSI C; this is the wrong way to do this, do *not* use these. */ |
