From 9f81acbc21316bcbade46d78b67a5f2e58d11bb9 Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Mon, 8 May 2017 11:53:38 +0000 Subject: [PATCH] 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 --- external/mit/lua/dist/src/luaconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.44.0