unix: Automatically fix incompatible readline build options.

This commit is contained in:
stijn 2015-04-09 12:40:12 +02:00 committed by Damien George
parent e50cff69bb
commit df1637c580

View File

@ -36,6 +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)
#endif
char *prompt(char *p) {