From bfcd7b7305c5465eb33acca86109ca96cb37403a Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Mon, 7 Feb 2011 21:57:20 +0100 Subject: lua: Updating to 5.1.4 Updating base code to 5.1.4 Adding -DSYSLINUX build flag Moving #if 0 to ifndef SYSLINUX --- com32/lua/src/lualib.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'com32/lua/src/lualib.h') diff --git a/com32/lua/src/lualib.h b/com32/lua/src/lualib.h index e169a0f9..4541550a 100644 --- a/com32/lua/src/lualib.h +++ b/com32/lua/src/lualib.h @@ -33,15 +33,16 @@ LUALIB_API int (luaopen_string) (lua_State *L); #define LUA_MATHLIBNAME "math" LUALIB_API int (luaopen_math) (lua_State *L); -#define LUA_PCILIBNAME "pci" -LUALIB_API int (luaopen_pci) (lua_State *L); - #define LUA_DBLIBNAME "debug" LUALIB_API int (luaopen_debug) (lua_State *L); #define LUA_LOADLIBNAME "package" LUALIB_API int (luaopen_package) (lua_State *L); +#ifdef SYSLINUX +#define LUA_PCILIBNAME "pci" +LUALIB_API int (luaopen_pci) (lua_State *L); + #define LUA_SYSLINUXLIBNAME "syslinux" LUALIB_API int (luaopen_syslinux) (lua_State *L); @@ -50,7 +51,7 @@ LUALIB_API int (luaopen_dmi) (lua_State *L); #define LUA_VESALIBNAME "vesa" LUALIB_API int (luaopen_vesa) (lua_State *L); - +#endif /* open all previous libraries */ LUALIB_API void (luaL_openlibs) (lua_State *L); -- cgit v1.2.1