diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2017-03-11 00:31:06 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2017-03-11 00:31:06 +0000 |
commit | 7fa7e2984ec7346b13ce8d3a84826552d30f00ea (patch) | |
tree | f177da03ee3839977b28ee4f149cb612666eddde /Build/source/texk/web2c/luatexdir/luaffi | |
parent | dedac2fcc2339e6d9cddef8edb046fd0e04c397e (diff) |
sync with luatex r.6287 and mpost r.2125
git-svn-id: svn://tug.org/texlive/trunk@43454 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luaffi')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luaffi/README | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luaffi/ffi.c | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luaffi/ffi.h | 7 |
3 files changed, 9 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luaffi/README b/Build/source/texk/web2c/luatexdir/luaffi/README index 8093da53c41..bff350f6f64 100644 --- a/Build/source/texk/web2c/luatexdir/luaffi/README +++ b/Build/source/texk/web2c/luatexdir/luaffi/README @@ -8,7 +8,7 @@ local info = [[ The ffi module is available for: archictures : ARCH_X86 and ARCH_X64, - operating systems : OS_CE, OS_WIN, OS_LINUX, OS BD and OS_POSIX + operating systems : OS_CE, OS_WIN, OS_LINUX, OS_BSD and OS_POSIX The ARM processor is currently not supported. There are subtle differences between this module and the one in luajitTeX diff --git a/Build/source/texk/web2c/luatexdir/luaffi/ffi.c b/Build/source/texk/web2c/luatexdir/luaffi/ffi.c index d65b2bed7e1..abeeb5f1fe0 100644 --- a/Build/source/texk/web2c/luatexdir/luaffi/ffi.c +++ b/Build/source/texk/web2c/luatexdir/luaffi/ffi.c @@ -3567,7 +3567,7 @@ int luaopen_ffi(lua_State *L) "The ffi module is available for:\n" "\n" " archictures : ARCH_X86 and ARCH_X64,\n" -" operating systems : OS_CE, OS_WIN, OS_LINUX, OS BD and OS_POSIX\n" +" operating systems : OS_CE, OS_WIN, OS_LINUX, OS_BSD and OS_POSIX\n" "\n" "The ARM processor is currently not supported. There are subtle\n" "differences between this module and the one in luajitTeX \n" diff --git a/Build/source/texk/web2c/luatexdir/luaffi/ffi.h b/Build/source/texk/web2c/luatexdir/luaffi/ffi.h index 757d1a4d466..cfc25424175 100644 --- a/Build/source/texk/web2c/luatexdir/luaffi/ffi.h +++ b/Build/source/texk/web2c/luatexdir/luaffi/ffi.h @@ -151,6 +151,13 @@ static void (lua_remove)(lua_State *L, int idx) { #if (defined ARCH_X86 || defined ARCH_X64) && (defined OS_CE || defined OS_WIN || defined OS_LINUX || defined OS_BSD || defined OS_POSIX || defined OS_OSX) #define FFI_ENABLE_LUATEX_INTERFACE #endif +/* for the moment */ +#if (defined __CYGWIN__) +#undef FFI_ENABLE_LUATEX_INTERFACE +#endif + + + #ifdef _WIN32 |