aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
index e2ab307..49e83f9 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -5,6 +5,8 @@
5#include "lauxlib.h" 5#include "lauxlib.h"
6 6
7#if LUA_VERSION_NUM==501 7#if LUA_VERSION_NUM==501
8#define luaL_setfuncs socket_setfuncs
9#define luaL_testudata socket_testudata
8void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup); 10void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup);
9void *luaL_testudata ( lua_State *L, int arg, const char *tname); 11void *luaL_testudata ( lua_State *L, int arg, const char *tname);
10#endif 12#endif