summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2019-11-08 22:10:15 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2019-11-08 22:10:15 +0000
commit4d8501a5f89eb172db6d010739b3c5c6ad40f464 (patch)
treea29e1ed7c082e6fc8ba8d4b3294714620d9f5b4e
parent8ebe6ff987a305ef80fbfaa5051d33a0be101154 (diff)
change lkpselib.c because mflua does not compile
git-svn-id: svn://tug.org/texlive/trunk@52700 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/lkpselib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/lkpselib.c b/Build/source/texk/web2c/luatexdir/lua/lkpselib.c
index 353b6dce934..ae516677a3f 100644
--- a/Build/source/texk/web2c/luatexdir/lua/lkpselib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/lkpselib.c
@@ -843,6 +843,7 @@ static int lua_record_output_file(lua_State * L)
return 0;
}
+#ifndef MF_LUA
/*tex moved here */
static int lua_check_permissions(lua_State *L)
@@ -883,6 +884,7 @@ static int lua_check_permissions(lua_State *L)
}
return 2;
}
+#endif /* !MF_LUA */
static const struct luaL_Reg kpselib_m[] = {
{"__gc", lua_kpathsea_finish},
@@ -919,9 +921,11 @@ static const struct luaL_Reg kpselib_l[] = {
{"default_texmfcnf", show_texmfcnf},
{"record_input_file", lua_record_input_file},
{"record_output_file", lua_record_output_file},
+#ifndef MF_LUA
/* extra */
{"check_permission", lua_check_permissions},
/* sentinel */
+#endif /* !MF_LUA */
{NULL, NULL}
};