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:54:29 +0300
committerSoumith Chintala <soumith@fb.com>2016-02-03 22:54:29 +0300
commit739e57dae421ee26432d384fc360c060318c002a (patch)
treefb978b2cb7a15fe5f9bc9ba94f7d5d048c8e24bb
parent3c0dc8f1974a32b223f55ab5313cb1b420298cd1 (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 ee6a86b..ecfb2b9 100644
--- a/paths.c
+++ b/paths.c
@@ -1002,7 +1002,7 @@ static int readable (const char *filename)
return 1;
}
-#if LUA_VERSION_NUM == 502 /* LUA52 compatibility defs */
+#if LUA_VERSION_NUM >= 502 /* LUA52 compatibility defs */
#define LUA_PATHSEP ";"
#define PATHS_LUA_CLEANUP_DEFS 1
#endif