Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/paths.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@fb.com>2016-02-03 22:56:18 +0300
committerSoumith Chintala <soumith@fb.com>2016-02-03 22:56:18 +0300
commit68d579a2d3b1b0bb03a11637632e6e699b14ad80 (patch)
tree05b0e2f6fd8555bd4e41025a35481b91d95b0804
parent739e57dae421ee26432d384fc360c060318c002a (diff)
lua 5.3 fix
-rw-r--r--paths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/paths.c b/paths.c
index ecfb2b9..a2a0f4c 100644
--- a/paths.c
+++ b/paths.c
@@ -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__);