From ee6a4cd1eca4fa736d108e1e0ac3cb9858f7a5ef Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 15 Nov 2024 11:43:32 -0300 Subject: Ease slightly making Lua with C89 --- luaconf.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index afc1b8b5..bd394650 100644 --- a/luaconf.h +++ b/luaconf.h @@ -87,6 +87,11 @@ #endif +#if defined(LUA_USE_C89) && defined(LUA_USE_POSIX) +#error "Posix is not compatible with C89" +#endif + + /* @@ LUAI_IS32INT is true iff 'int' has (at least) 32 bits. */ -- cgit v1.2.3-55-g6feb