summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/line.c
diff options
context:
space:
mode:
authorTakuji Tanaka <KXD02663@nifty.ne.jp>2014-01-25 07:36:00 +0000
committerTakuji Tanaka <KXD02663@nifty.ne.jp>2014-01-25 07:36:00 +0000
commit8f37158e88f5a8ec913d12220b295dca907ed6b9 (patch)
treef7c4c387c2a1b866f693e1e1fdc22c3b2023f780 /Build/source/texk/kpathsea/line.c
parentdce8da8c3072b543be8fb371e9060ad0a2d1c7c0 (diff)
kpathsea [win32]: Allow Unicode file name in kpsewhich, add new functions in knj.[ch]
git-svn-id: svn://tug.org/texlive/trunk@32783 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/line.c')
-rw-r--r--Build/source/texk/kpathsea/line.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/line.c b/Build/source/texk/kpathsea/line.c
index c26303a3012..b221a4032dc 100644
--- a/Build/source/texk/kpathsea/line.c
+++ b/Build/source/texk/kpathsea/line.c
@@ -18,6 +18,12 @@
#include <kpathsea/config.h>
#include <kpathsea/line.h>
+#ifdef WIN32
+#undef getc
+#undef ungetc
+#define getc win32_getc
+#define ungetc win32_ungetc
+#endif
/* Allocate in increments of this size. */
#define BLOCK_SIZE 75