changeset 7821 | 54669df178c2 |
parent 7792 | 93dd90309779 |
child 7838 | a809dcfd0c5b |
--- a/util-src/pposix.c Fri Jan 06 13:14:17 2017 +0100 +++ b/util-src/pposix.c Sun Jan 08 14:21:08 2017 +0100 @@ -779,6 +779,9 @@ /* Register functions */ int luaopen_util_pposix(lua_State* L) { +#if (LUA_VERSION_NUM > 501) + luaL_checkversion(L); +#endif luaL_Reg exports[] = { { "abort", lc_abort },