fix: readline not installed on mac by default..

This commit is contained in:
Chris 2018-11-03 11:10:55 +01:00
parent 12af27967b
commit 92d89dd539

View file

@ -261,7 +261,9 @@ int main(int argc, char* argv[]) {
/* initialize history */ /* initialize history */
using_history(); using_history();
#ifdef RL_STATE_READCMD
rl_extend_line_buffer(1024); rl_extend_line_buffer(1024);
#endif
if (argc < 2) { if (argc < 2) {
show_help(true, argv[0]); show_help(true, argv[0]);