mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-17 09:41:51 +00:00
FS-7180: add --enable-sytem-lua configure arg to allow building mod_lua against system lua and allow mod_lua to build against lua 5.1 or 5.2
This commit is contained in:
@@ -9,6 +9,9 @@ extern "C" {
|
||||
}
|
||||
#include <switch_cpp.h>
|
||||
|
||||
#ifndef lua_pushglobaltable
|
||||
#define lua_pushglobaltable(L) lua_pushvalue(L,LUA_GLOBALSINDEX)
|
||||
#endif
|
||||
|
||||
typedef struct{
|
||||
lua_State* L;
|
||||
|
||||
Reference in New Issue
Block a user