aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-02-02 13:43:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-02-02 13:43:41 -0300
commitcf08915d62e338c987b71c078b148490510e9fe7 (patch)
treea70c98ab7b2edc588658a99ec3b9a3ab8077222d /luaconf.h
parentc888ae0aea030491f90b749260a156ce15635681 (diff)
downloadlua-cf08915d62e338c987b71c078b148490510e9fe7.tar.gz
lua-cf08915d62e338c987b71c078b148490510e9fe7.tar.bz2
lua-cf08915d62e338c987b71c078b148490510e9fe7.zip
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.
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/luaconf.h b/luaconf.h
index e4650fbc..137103ed 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -70,6 +70,12 @@
70#endif 70#endif
71 71
72 72
73#if defined(LUA_USE_IOS)
74#define LUA_USE_POSIX
75#define LUA_USE_DLOPEN
76#endif
77
78
73/* 79/*
74@@ LUAI_IS32INT is true iff 'int' has (at least) 32 bits. 80@@ LUAI_IS32INT is true iff 'int' has (at least) 32 bits.
75*/ 81*/