mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Remove luaL_reg macro definition no longer needed
and simplify lua_load compatibility macro. Note that in order to successfully compile with Lua 5.2.0 we still need to add LUA_COMPAT_ALL to CPPFLAGS. Detection in config.m4 is still missing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1239030 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -46,9 +46,7 @@
|
||||
|
||||
#if LUA_VERSION_NUM > 501
|
||||
/* Load mode for lua_load() */
|
||||
#define DFLT_LUA_LOAD_MODE "bt"
|
||||
#define lua_load(a,b,c,d) lua_load(a,b,c,d,DFLT_LUA_LOAD_MODE)
|
||||
#define luaL_reg luaL_Reg
|
||||
#define lua_load(a,b,c,d) lua_load(a,b,c,d,NULL)
|
||||
#endif
|
||||
|
||||
/* Create a set of AP_LUA_DECLARE(type), AP_LUA_DECLARE_NONSTD(type) and
|
||||
|
Reference in New Issue
Block a user