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

github.com/torch/threads-ffi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/luaTHRD.h')
-rw-r--r--lib/luaTHRD.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/luaTHRD.h b/lib/luaTHRD.h
index 23acdf0..d17e75e 100644
--- a/lib/luaTHRD.h
+++ b/lib/luaTHRD.h
@@ -1,7 +1,7 @@
#ifndef LUA_THRD_INC
#define LUA_THRD_INC
-#if (LUA_VERSION_NUM == 502)
+#if (LUA_VERSION_NUM >= 502)
#define lua_equal(L, idx1, idx2) lua_compare(L, (idx1), (idx2), LUA_OPEQ)
#endif