mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-25 12:08:21 +01:00
Merge pull request #266 from siffiejoe/luajit-static-linking
Fix static linking problem with LuaJIT
This commit is contained in:
commit
40f79c1961
@ -5,6 +5,8 @@
|
||||
#include "lauxlib.h"
|
||||
|
||||
#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_testudata ( lua_State *L, int arg, const char *tname);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user