Merge pull request #499 from petterreinholdtsen/missing-path-max

Provide replacement value for PATH_MAX on platforms without it.
This commit is contained in:
alanminko 2026-05-02 21:20:38 -07:00 committed by GitHub
commit 6d9c88d7e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@
#define PATH_MAX MAX_PATH
#else
#include <limits.h>
# ifndef PATH_MAX
# define PATH_MAX 4096
# endif
#endif
#include "extra.h"