diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-04 19:38:19 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-04 19:38:19 +0200 |
commit | d674bd59890b8f63e6f67415a2107900562a645b (patch) | |
tree | 048a8162822d2d1ab62a4d51e5cf91cbccd56081 /unix/main.c | |
parent | 9464cde3c94b1c69a9cf433d8b0ac8a7c78f8bf1 (diff) | |
download | micropython-d674bd59890b8f63e6f67415a2107900562a645b.tar.gz micropython-d674bd59890b8f63e6f67415a2107900562a645b.zip |
Convert USE_READLINE config option to be consistent with others.
Diffstat (limited to 'unix/main.c')
-rw-r--r-- | unix/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/main.c b/unix/main.c index e73f69ee24..ecb2fa338e 100644 --- a/unix/main.c +++ b/unix/main.c @@ -15,7 +15,7 @@ #include "runtime.h" #include "repl.h" -#ifdef USE_READLINE +#if MICROPY_USE_READLINE #include <readline/readline.h> #include <readline/history.h> #endif @@ -35,7 +35,7 @@ static char *str_join(const char *s1, int sep_char, const char *s2) { } static char *prompt(char *p) { -#ifdef USE_READLINE +#if MICROPY_USE_READLINE char *line = readline(p); if (line) { add_history(line); |