From 7f79088c29fadbf95ada8297529a9b1d5f6cf416 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Wed, 5 Oct 2016 05:00:33 +0000 Subject: 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 --- Build/source/texk/dvipdfm-x/ChangeLog | 2 +- Build/source/texk/dvipdfm-x/dpxfile.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 +2016-10-05 Akira Kakuto * 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 +#endif #if !defined(PATH_MAX) # define PATH_MAX 256 #endif +#endif /* MIKTEX || TESTCOMPILE */ static int verbose = 0; int keep_cache = 0; -- cgit v1.2.3