Merge pull request #266 from siffiejoe/luajit-static-linking

Fix static linking problem with LuaJIT
master
Diego Nehab 2019-02-24 17:42:27 -03:00 committed by GitHub
commit 40f79c1961
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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