diff options
author | Soumith Chintala <soumith@fb.com> | 2016-02-03 22:56:18 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@fb.com> | 2016-02-03 22:56:18 +0300 |
commit | 68d579a2d3b1b0bb03a11637632e6e699b14ad80 (patch) | |
tree | 05b0e2f6fd8555bd4e41025a35481b91d95b0804 | |
parent | 739e57dae421ee26432d384fc360c060318c002a (diff) |
lua 5.3 fix
-rw-r--r-- | paths.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1133,7 +1133,7 @@ luaopen_libpaths(lua_State *L) lua_newtable(L); lua_pushvalue(L, -1); lua_setglobal(L, "paths"); -#if LUA_VERSION_NUM == 502 +#if LUA_VERSION_NUM >= 502 luaL_setfuncs(L, paths__, 0); #else luaL_register(L, NULL, paths__); |