summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-02-07 13:23:14 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-02-07 13:23:14 +0000
commit187f01497820820a6075023f1825aacdac0e86cc (patch)
treece43cdbaac84d36c477181cd061610e0657e8f1b /Build
parent6345e3dec1097f5ce20dc02bc1136afc353abdf4 (diff)
MSC version has luaopen_bit32() in dll
git-svn-id: svn://tug.org/texlive/trunk@32908 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/luatex-api.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog
index 3902190dc87..a6915f35f47 100644
--- a/Build/source/texk/web2c/luatexdir/ChangeLog
+++ b/Build/source/texk/web2c/luatexdir/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-07 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * lua/luatex-api.h: MSC version has luaopen_bit32() in dll.
+
2014-02-07 Peter Breitenlohner <peb@mppmu.mpg.de>
* bitlib/lbitlib.c (new): Copied from
diff --git a/Build/source/texk/web2c/luatexdir/lua/luatex-api.h b/Build/source/texk/web2c/luatexdir/lua/luatex-api.h
index 40931941eff..e8c54a721de 100644
--- a/Build/source/texk/web2c/luatexdir/lua/luatex-api.h
+++ b/Build/source/texk/web2c/luatexdir/lua/luatex-api.h
@@ -71,7 +71,11 @@ extern int luaopen_zlib(lua_State * L);
extern int luaopen_gzip(lua_State * L);
extern int luaopen_ff(lua_State * L);
extern int luaopen_profiler(lua_State * L);
+#ifdef _MSC_VER
+extern LUALIB_API int luaopen_bit32(lua_State * L);
+#else
extern int luaopen_bit32(lua_State * L);
+#endif
extern int luaopen_socket_core(lua_State * L);
extern int luaopen_mime_core(lua_State * L);