diff options
| author | ruki <[email protected]> | 2017-05-04 09:16:45 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-04 09:16:45 +0800 |
| commit | 8be20cf25d130505f43953334899a54ef2d43c6f (patch) | |
| tree | 5800a962f9e26171ceab287e49b93e5e9359e0b8 | |
| parent | 2721e27a20cf2aac0cc75717290d8996a6b41cb3 (diff) | |
add readline declatation
| -rw-r--r-- | core/src/xmake/sandbox/interactive.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/core/src/xmake/sandbox/interactive.c b/core/src/xmake/sandbox/interactive.c index 418513e6a..7019781a4 100644 --- a/core/src/xmake/sandbox/interactive.c +++ b/core/src/xmake/sandbox/interactive.c @@ -40,10 +40,6 @@ * includes */ #include "prefix.h" -#ifndef TB_CONFIG_OS_WINDOWS -# include <readline/readline.h> -# include <readline/history.h> -#endif /* ////////////////////////////////////////////////////////////////////////////////////// * macros @@ -56,6 +52,14 @@ #define LUA_PROMPT2 ">> " /* ////////////////////////////////////////////////////////////////////////////////////// + * declaration + */ +#ifndef TB_CONFIG_OS_WINDOWS +extern char* readline (const char*); +extern void add_history(const char*); +#endif + +/* ////////////////////////////////////////////////////////////////////////////////////// * private implementation */ |
