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

github.com/facebook/luaffifb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2017-07-21 21:20:29 +0300
committerGitHub <noreply@github.com>2017-07-21 21:20:29 +0300
commit532c757e51c86f546a85730b71c9fef15ffa633d (patch)
treecac398b8fc20a39488cad2c0722077cb31f4204f
parent610ce4dc6de318c8f0eb027f052be081349097be (diff)
parenteffbea534c39e0d6fb49310986586e94ad917f78 (diff)
Merge pull request #35 from afonso360/master
Support newer versions of lua
-rw-r--r--ffi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi.h b/ffi.h
index dabdc9b..49584b1 100644
--- a/ffi.h
+++ b/ffi.h
@@ -105,7 +105,7 @@ static char* luaL_prepbuffsize(luaL_Buffer* B, size_t sz) {
}
return luaL_prepbuffer(B);
}
-#elif LUA_VERSION_NUM == 503
+#elif LUA_VERSION_NUM >= 503
static void (lua_remove)(lua_State *L, int idx) {
lua_remove(L, idx);
}