From cf08915d62e338c987b71c078b148490510e9fe7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 2 Feb 2023 13:43:41 -0300 Subject: New macro LUA_USE_IOS Do not try to detect automatically whether system is iOS; it is simpler and more reliable to let the programmer inform that. --- luaconf.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index e4650fbc..137103ed 100644 --- a/luaconf.h +++ b/luaconf.h @@ -70,6 +70,12 @@ #endif +#if defined(LUA_USE_IOS) +#define LUA_USE_POSIX +#define LUA_USE_DLOPEN +#endif + + /* @@ LUAI_IS32INT is true iff 'int' has (at least) 32 bits. */ -- cgit v1.2.3-55-g6feb