diff options
Diffstat (limited to 'src/luasec/compat.h')
-rw-r--r-- | src/luasec/compat.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/luasec/compat.h b/src/luasec/compat.h index 1c88de9..37eff81 100644 --- a/src/luasec/compat.h +++ b/src/luasec/compat.h @@ -20,9 +20,6 @@ //------------------------------------------------------------------------------ -#if (LUA_VERSION_NUM == 501) - -#define luaL_testudata(L, ud, tname) lsec_testudata(L, ud, tname) #define setfuncs(L, R) luaL_register(L, NULL, R) #define lua_rawlen(L, i) lua_objlen(L, i) @@ -30,10 +27,6 @@ #define luaL_newlib(L, R) do { lua_newtable(L); luaL_register(L, NULL, R); } while(0) #endif -#else -#define setfuncs(L, R) luaL_setfuncs(L, R, 0) -#endif - //------------------------------------------------------------------------------ #if (!defined(LIBRESSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x1010000fL)) |