diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lua/lua_thread_pool.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lua/lua_thread_pool.c b/src/lua/lua_thread_pool.c index 1fa584c51..8220bb3ff 100644 --- a/src/lua/lua_thread_pool.c +++ b/src/lua/lua_thread_pool.c @@ -239,7 +239,11 @@ lua_do_resume_full (lua_State *L, gint narg, const gchar *loc) #if LUA_VERSION_NUM < 502 return lua_resume (L, narg); #else + #if LUA_VERSION_NUM >= 504 + return lua_resume (L, from, nargs, NULL); + #else return lua_resume (L, NULL, narg); + #endif #endif } |