]> Zhao Yanbai Git Server - minix.git/commitdiff
Fix lua 99/3499/1
authorDavid van Moolenbroek <david@minix3.org>
Mon, 8 May 2017 11:53:38 +0000 (11:53 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Mon, 8 May 2017 11:53:38 +0000 (11:53 +0000)
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

index 7e14ad8d5f87c41ae9f0a291ff2db1137e8b7596..3336584236db9478248edae98fa79391bd75d6e9 100644 (file)
 ** without modifying the main part of the file.
 */
 
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__minix)
 
 /* Integer types */
 #undef LUA_INTEGER
 
 #endif /* _KERNEL */
 
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ || __minix */
 
 #endif