summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-10-25 21:25:32 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-10-25 21:25:32 +0000
commit312f41f8f332df1d256eab476fdd0c96d736d6a9 (patch)
tree72e35d2f83f9686bdcfde0dcc9f911d5e9a903ca
parent7bc1ed54f48d80fce4019f19ed5597bc652ac164 (diff)
synctex.c: Cleanup for non-ascii file names (w32 only).
git-svn-id: svn://tug.org/texlive/trunk@48987 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex.c b/Build/source/texk/web2c/synctexdir/synctex.c
index 53645d3ba34..598c2b30456 100644
--- a/Build/source/texk/web2c/synctexdir/synctex.c
+++ b/Build/source/texk/web2c/synctexdir/synctex.c
@@ -293,7 +293,7 @@ mem[NODE+TYPE##_node_size-synchronization_field_size+1].cint
# endif
#if defined(_WIN32)
-#if defined(pdfTeX) || defined(upTeX) || defined(eupTeX) || defined(XeTeX) || (defined(_MSC_VER) && (defined(LuaTeX) || defined(LuajitTeX)))
+#if defined(pdfTeX) || defined(upTeX) || defined(eupTeX) || defined(XeTeX)
#define W32UPTEXSYNCTEX 1
#include <wchar.h>
static char *chgto_oem(char *src);
@@ -591,12 +591,7 @@ static int fsyscp_rename(char *s1, char *s2)
}
#undef fopen
-#if defined(LuaTeX) || defined(LuajitTeX)
-extern FILE *futf8open(const char *filename, const char *mode);
-#define fopen futf8open
-#else
#define fopen fsyscp_fopen
-#endif /* LuaTeX || LuajitTeX */
#define gzopen fsyscp_gzopen
#define rename fsyscp_rename
#define remove fsyscp_remove