diff options
Diffstat (limited to 'unix/input.c')
-rw-r--r-- | unix/input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/input.c b/unix/input.c index 8fd5cba080..0a02483f70 100644 --- a/unix/input.c +++ b/unix/input.c @@ -36,9 +36,9 @@ #include <readline/readline.h> #include <readline/history.h> #include <readline/tilde.h> -#else
-#undef MICROPY_USE_READLINE_HISTORY
-#define MICROPY_USE_READLINE_HISTORY (0)
+#else +#undef MICROPY_USE_READLINE_HISTORY +#define MICROPY_USE_READLINE_HISTORY (0) #endif char *prompt(char *p) { |