remove some warnings
This commit is contained in:
@@ -5,8 +5,14 @@
|
||||
--flags {}
|
||||
|
||||
|
||||
|
||||
defines { "LUA_COMPAT_ALL"}
|
||||
|
||||
if os.is("Linux") then
|
||||
defines {"LUA_USE_LINUX"}
|
||||
end
|
||||
if os.is("MacOSX") then
|
||||
defines {"LUA_USE_MACOSX"}
|
||||
end
|
||||
|
||||
targetdir "../../lib"
|
||||
includedirs {
|
||||
@@ -18,4 +24,4 @@
|
||||
}
|
||||
|
||||
include "lua_compiler"
|
||||
include "lua_standalone"
|
||||
include "lua_standalone"
|
||||
|
||||
@@ -115,6 +115,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym);
|
||||
|
||||
|
||||
#if defined(LUA_USE_DLOPEN)
|
||||
|
||||
/*
|
||||
** {========================================================================
|
||||
** This is an implementation of loadlib based on the dlfcn interface.
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
|
||||
#if defined(LUA_USE_LINUX)
|
||||
#define LUA_USE_POSIX
|
||||
#define LUA_USE_DLOPEN /* needs an extra library: -ldl */
|
||||
#define LUA_USE_READLINE /* needs some extra libraries */
|
||||
//#define LUA_USE_DLOPEN /* needs an extra library: -ldl */
|
||||
//#define LUA_USE_READLINE /* needs some extra libraries */
|
||||
#define LUA_USE_STRTODHEX /* assume 'strtod' handles hex formats */
|
||||
#define LUA_USE_AFORMAT /* assume 'printf' handles 'aA' specifiers */
|
||||
#define LUA_USE_LONGLONG /* assume support for long long */
|
||||
@@ -51,8 +51,8 @@
|
||||
|
||||
#if defined(LUA_USE_MACOSX)
|
||||
#define LUA_USE_POSIX
|
||||
#define LUA_USE_DLOPEN /* does not need -ldl */
|
||||
#define LUA_USE_READLINE /* needs an extra library: -lreadline */
|
||||
//#define LUA_USE_DLOPEN /* does not need -ldl */
|
||||
//#define LUA_USE_READLINE /* needs an extra library: -lreadline */
|
||||
#define LUA_USE_STRTODHEX /* assume 'strtod' handles hex formats */
|
||||
#define LUA_USE_AFORMAT /* assume 'printf' handles 'aA' specifiers */
|
||||
#define LUA_USE_LONGLONG /* assume support for long long */
|
||||
|
||||
Reference in New Issue
Block a user