Remove Lua 5.0 compatibility defines.

Suggested by François Perrad.
This commit is contained in:
Mike Pall
2017-03-17 12:07:21 +01:00
parent d3e36e7920
commit de5568e0ea
3 changed files with 0 additions and 12 deletions

View File

@@ -737,10 +737,6 @@ LUALIB_API int luaopen_string(lua_State *L)
GCtab *mt;
global_State *g;
LJ_LIB_REG(L, LUA_STRLIBNAME, string);
#if defined(LUA_COMPAT_GFIND) && !LJ_52
lua_getfield(L, -1, "gmatch");
lua_setfield(L, -2, "gfind");
#endif
mt = lj_tab_new(L, 0, 1);
/* NOBARRIER: basemt is a GC root. */
g = G(L);