diff options
author | Li Jin <dragon-fly@qq.com> | 2023-08-24 09:21:38 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-08-24 09:21:38 +0800 |
commit | cfcea12ba0e6a40d7c04ac64c75563db0896985c (patch) | |
tree | 8ee7c6d9cd5f7b60fd9bda035b703cc9969ab678 /src/3rdParty/lua/luaconf.h | |
parent | eb48c686a7ab5bd3f3f3a8628ed0423872a932c6 (diff) | |
download | yuescript-cfcea12ba0e6a40d7c04ac64c75563db0896985c.tar.gz yuescript-cfcea12ba0e6a40d7c04ac64c75563db0896985c.tar.bz2 yuescript-cfcea12ba0e6a40d7c04ac64c75563db0896985c.zip |
update Lua 5.4.
Diffstat (limited to 'src/3rdParty/lua/luaconf.h')
-rw-r--r-- | src/3rdParty/lua/luaconf.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/3rdParty/lua/luaconf.h b/src/3rdParty/lua/luaconf.h index e4650fb..acebe29 100644 --- a/src/3rdParty/lua/luaconf.h +++ b/src/3rdParty/lua/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 | */ |
@@ -251,6 +257,15 @@ | |||
251 | 257 | ||
252 | #endif | 258 | #endif |
253 | 259 | ||
260 | |||
261 | /* | ||
262 | ** LUA_IGMARK is a mark to ignore all after it when building the | ||
263 | ** module name (e.g., used to build the luaopen_ function name). | ||
264 | ** Typically, the sufix after the mark is the module version, | ||
265 | ** as in "mod-v1.2.so". | ||
266 | */ | ||
267 | #define LUA_IGMARK "-" | ||
268 | |||
254 | /* }================================================================== */ | 269 | /* }================================================================== */ |
255 | 270 | ||
256 | 271 | ||