2019-01-11 21:19:48 -05:00
|
|
|
#ifndef COMPAT_H
|
|
|
|
#define COMPAT_H
|
|
|
|
|
|
|
|
#include "lua.h"
|
|
|
|
#include "lauxlib.h"
|
|
|
|
|
2019-01-16 23:54:00 -05:00
|
|
|
#ifndef _WIN32
|
|
|
|
#define gai_strerrorA gai_strerror
|
|
|
|
#endif
|
|
|
|
|
2019-01-11 21:19:48 -05:00
|
|
|
#if LUA_VERSION_NUM==501
|
|
|
|
void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup);
|
|
|
|
void *luaL_testudata ( lua_State *L, int arg, const char *tname);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|