2015-01-23 19:42 GMT+01:00 Stéphane Graber <[email protected]>: > On Fri, Jan 23, 2015 at 07:03:42PM +0100, Thomas Moschny wrote: >> In order to build against Lua 5.3, a small patch is needed. >> >> >> - Thomas > > Hi, > > Can you reply to that e-mail with the required Signed-off-by line as per > CONTRIBUTING? > > Thanks! > >> diff --git a/src/lua-lxc/core.c b/src/lua-lxc/core.c >> index 2e073d8..630a3e4 100644 >> --- a/src/lua-lxc/core.c >> +++ b/src/lua-lxc/core.c >> @@ -38,6 +38,10 @@ >> #define luaL_checkunsigned(L,n) luaL_checknumber(L,n) >> #endif >> >> +#if LUA_VERSION_NUM >= 503 >> +#define luaL_checkunsigned(L,n) ((lua_Unsigned)luaL_checkinteger(L,n)) >> +#endif >> + >> #ifdef NO_CHECK_UDATA >> #define checkudata(L,i,tname) lua_touserdata(L, i) >> #else >
Signed-off-by: Thomas Moschny <[email protected]> - Thomas _______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
