mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
Allow an application to define FOPEN_MAX (like we allow for OPEN_MAX
in sys/syslimits.h).
This commit is contained in:
parent
cbdcc7cb91
commit
2c2f4a605d
1 changed files with 2 additions and 0 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue