summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-10-04 00:11:56 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-10-04 00:11:56 +0000
commit9d3e824ded5cc7f95fc53f7250d48fba1e2f869a (patch)
treee98ac912935b726b8117deb94a9348ba9d39fbef /Build/source
parentc74487a9667a427c6a9a0f4cafd00478d461d5a3 (diff)
dvipdfm-x/dpxfile.c: sync with MikTeX
git-svn-id: svn://tug.org/texlive/trunk@42201 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/dvipdfm-x/dpxfile.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/dpxfile.c b/Build/source/texk/dvipdfm-x/dpxfile.c
index 3172b805830..206bc0b9403 100644
--- a/Build/source/texk/dvipdfm-x/dpxfile.c
+++ b/Build/source/texk/dvipdfm-x/dpxfile.c
@@ -61,6 +61,13 @@
#endif
#endif
+#if defined(MIKTEX)
+#if defined(__APPLE__)
+#include <sys/syslimits.h>
+# define _MAX_PATH PATH_MAX
+#endif
+#endif
+
static int verbose = 0;
int keep_cache = 0;