diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-10-05 05:00:33 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-10-05 05:00:33 +0000 |
commit | 7f79088c29fadbf95ada8297529a9b1d5f6cf416 (patch) | |
tree | 1d9a9481aebacdcc179aeb7a3e0cad7c2542b0a3 /Build/source | |
parent | 319d079d172c475a729088b5f384520c0b903318 (diff) |
dvipdfm-x/dpxfile.c: Use PATH_MAX instead of _MAX_PATH
git-svn-id: svn://tug.org/texlive/trunk@42212 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 2 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/dpxfile.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index e60a4d8d8a5..050eff7f394 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,4 +1,4 @@ -2016-10-04 Akira Kakuto <kakuto@fuk.kindai.ac.jp> +2016-10-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * dpxfile.c: Use PATH_MAX instead of _MAX_PATH. diff --git a/Build/source/texk/dvipdfm-x/dpxfile.c b/Build/source/texk/dvipdfm-x/dpxfile.c index 051180cce88..34530269c3a 100644 --- a/Build/source/texk/dvipdfm-x/dpxfile.c +++ b/Build/source/texk/dvipdfm-x/dpxfile.c @@ -61,9 +61,14 @@ #endif #endif +#if defined(MIKTEX) || defined(TESTCOMPILE) +#if defined(__APPLE__) +# include <sys/syslimits.h> +#endif #if !defined(PATH_MAX) # define PATH_MAX 256 #endif +#endif /* MIKTEX || TESTCOMPILE */ static int verbose = 0; int keep_cache = 0; |