From: David van Moolenbroek Date: Mon, 8 May 2017 11:53:38 +0000 (+0000) Subject: Fix lua X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=9f81acbc21316bcbade46d78b67a5f2e58d11bb9;p=minix.git Fix lua As reported by Jean-Baptiste Boric, lua would refuse to start, throwing an error about incompatibility of numeric types. This resolves #160. Change-Id: I5cd6c3b2a35c7023946e4d14d4feedaaecb956fb --- diff --git a/external/mit/lua/dist/src/luaconf.h b/external/mit/lua/dist/src/luaconf.h index 7e14ad8d5..333658423 100644 --- a/external/mit/lua/dist/src/luaconf.h +++ b/external/mit/lua/dist/src/luaconf.h @@ -751,7 +751,7 @@ ** without modifying the main part of the file. */ -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__minix) /* Integer types */ #undef LUA_INTEGER @@ -812,7 +812,7 @@ #endif /* _KERNEL */ -#endif /* __NetBSD__ */ +#endif /* __NetBSD__ || __minix */ #endif