From 739e57dae421ee26432d384fc360c060318c002a Mon Sep 17 00:00:00 2001 From: Soumith Chintala Date: Wed, 3 Feb 2016 14:54:29 -0500 Subject: [PATCH] lua 5.3 fix --- paths.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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