diff --git a/source/texk/web2c/luatexdir/luaffi/ffi.c b/source/texk/web2c/luatexdir/luaffi/ffi.c index 5bfdae261557506fdcd44b95c0eafa09039119ff..78fa014b3b42739f515faad9b6fe38fa2acb93ab 100644 --- a/source/texk/web2c/luatexdir/luaffi/ffi.c +++ b/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/source/texk/web2c/luatexdir/luaffi/ffi.h b/source/texk/web2c/luatexdir/luaffi/ffi.h index 7c9242c7eb6fa1626bc89cc08b0c9a01088411b9..757d1a4d466174faa317e70e8a8d26515b175c0c 100644 --- a/source/texk/web2c/luatexdir/luaffi/ffi.h +++ b/source/texk/web2c/luatexdir/luaffi/ffi.h @@ -148,7 +148,7 @@ static void (lua_remove)(lua_State *L, int idx) { /* See ffi.c: replace luaopen_ffi with a stub */ /* if FFI_ENABLE_LUATEX_INTERFACE is not defined */ -#if (defined ARCH_X86 || defined ARCH_X64) && (defined OS_CE || defined OS_WIN || defined OS_LINUX || defined OS_BSD || defined OS_POSIX) +#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