diff options
Diffstat (limited to 'jimiocompat.h')
-rw-r--r-- | jimiocompat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jimiocompat.h b/jimiocompat.h index c384f81..0f807a0 100644 --- a/jimiocompat.h +++ b/jimiocompat.h @@ -124,6 +124,14 @@ int Jim_OpenForRead(const char *filename); #endif +# ifndef MAXPATHLEN +# ifdef PATH_MAX +# define MAXPATHLEN PATH_MAX +# else +# define MAXPATHLEN JIM_PATH_LEN +# endif +# endif + /* jim-file.c */ /* Note that this is currently an internal function only. * It does not form part of the public Jim API |