Skip to content

Commit 68d579a

Browse files
committed
lua 5.3 fix
1 parent 739e57d commit 68d579a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paths.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ luaopen_libpaths(lua_State *L)
11331133
lua_newtable(L);
11341134
lua_pushvalue(L, -1);
11351135
lua_setglobal(L, "paths");
1136-
#if LUA_VERSION_NUM == 502
1136+
#if LUA_VERSION_NUM >= 502
11371137
luaL_setfuncs(L, paths__, 0);
11381138
#else
11391139
luaL_register(L, NULL, paths__);

0 commit comments

Comments
 (0)