Merge pull request #266 from siffiejoe/luajit-static-linking
Fix static linking problem with LuaJIT
This commit is contained in:
commit
40f79c1961
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
||||||
#include "lauxlib.h"
|
#include "lauxlib.h"
|
||||||
|
|
||||||
#if LUA_VERSION_NUM==501
|
#if LUA_VERSION_NUM==501
|
||||||
|
#define luaL_setfuncs socket_setfuncs
|
||||||
|
#define luaL_testudata socket_testudata
|
||||||
void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup);
|
void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup);
|
||||||
void *luaL_testudata ( lua_State *L, int arg, const char *tname);
|
void *luaL_testudata ( lua_State *L, int arg, const char *tname);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue