summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-11 00:05:25 +0800
committerruki <[email protected]>2017-05-11 00:05:25 +0800
commit18cc92064b4331e3d4fb5ca63ef3723b955d4448 (patch)
treeaea22341d7a5056c8337e011acd8fb7ec1d55f8d /core/src
parent7d461c4de3e3476366b53aa67dd17f4f1e785ee2 (diff)
save global repl history
Diffstat (limited to 'core/src')
-rw-r--r--core/src/xmake/readline/history_list.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/xmake/readline/history_list.c b/core/src/xmake/readline/history_list.c
index d3145c4c7..8b48b6ded 100644
--- a/core/src/xmake/readline/history_list.c
+++ b/core/src/xmake/readline/history_list.c
@@ -34,11 +34,10 @@
*/
#include "prefix.h"
-#ifdef XM_CONFIG_API_HAVE_READLINE
-
/* //////////////////////////////////////////////////////////////////////////////////////
* implementation
*/
+#ifdef XM_CONFIG_API_HAVE_READLINE
// history_list wrapper
tb_int_t xm_readline_history_list(lua_State* lua)