Skip to content

Commit 84938a7

Browse files
committed
MacOS by default uses statically linked readline
(plus detail in the manual)
1 parent 6ca3326 commit 84938a7

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

luaconf.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@
7979
#if defined(LUA_USE_MACOSX)
8080
#define LUA_USE_POSIX
8181
#define LUA_USE_DLOPEN /* macOS does not need -ldl */
82-
#if !defined(LUA_READLINELIB)
83-
#define LUA_READLINELIB "libedit.dylib"
84-
#endif
82+
#define LUA_USE_READLINE
8583
#endif
8684

8785

manual/manual.of

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2692,9 +2692,9 @@ which behaves like a nil value.
26922692

26932693
@sect3{constchar|@title{Pointers to Strings}
26942694

2695-
Several functions in the API accept pointers (@T{const char*})
2696-
to C strings.
2697-
Some of there parameters have an associated length (@T{size_t}).
2695+
Several functions in the API have parameters
2696+
that are pointers to C strings (@T{const char*}).
2697+
Some of these parameters have an associated length (@T{size_t}).
26982698
Unless stated otherwise,
26992699
when there is an associated length,
27002700
the string can contain embedded zeros;

0 commit comments

Comments
 (0)