aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2026-07-15 15:39:07 -0300
committerRoberto I <roberto@inf.puc-rio.br>2026-07-15 15:39:07 -0300
commit84938a7d2b680d2d28ec99606e84fe712efd9a69 (patch)
tree9a707aa4041ee66d1dd4ac869dd99596d07dce82
parent6ca33260d26f1b8fab982b13c89de1f445361328 (diff)
downloadlua-84938a7d2b680d2d28ec99606e84fe712efd9a69.tar.gz
lua-84938a7d2b680d2d28ec99606e84fe712efd9a69.tar.bz2
lua-84938a7d2b680d2d28ec99606e84fe712efd9a69.zip
MacOS by default uses statically linked readline
(plus detail in the manual)
-rw-r--r--luaconf.h4
-rw-r--r--manual/manual.of6
2 files changed, 4 insertions, 6 deletions
diff --git a/luaconf.h b/luaconf.h
index 042932e1..ea2c0b2e 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -79,9 +79,7 @@
79#if defined(LUA_USE_MACOSX) 79#if defined(LUA_USE_MACOSX)
80#define LUA_USE_POSIX 80#define LUA_USE_POSIX
81#define LUA_USE_DLOPEN /* macOS does not need -ldl */ 81#define LUA_USE_DLOPEN /* macOS does not need -ldl */
82#if !defined(LUA_READLINELIB) 82#define LUA_USE_READLINE
83#define LUA_READLINELIB "libedit.dylib"
84#endif
85#endif 83#endif
86 84
87 85
diff --git a/manual/manual.of b/manual/manual.of
index 65261695..426ad453 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -2692,9 +2692,9 @@ which behaves like a nil value.
2692 2692
2693@sect3{constchar|@title{Pointers to Strings} 2693@sect3{constchar|@title{Pointers to Strings}
2694 2694
2695Several functions in the API accept pointers (@T{const char*}) 2695Several functions in the API have parameters
2696to C strings. 2696that are pointers to C strings (@T{const char*}).
2697Some of there parameters have an associated length (@T{size_t}). 2697Some of these parameters have an associated length (@T{size_t}).
2698Unless stated otherwise, 2698Unless stated otherwise,
2699when there is an associated length, 2699when there is an associated length,
2700the string can contain embedded zeros; 2700the string can contain embedded zeros;