aboutsummaryrefslogtreecommitdiff
path: root/readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline.c')
-rw-r--r--readline.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/readline.c b/readline.c
index 7834af0..165ae35 100644
--- a/readline.c
+++ b/readline.c
@@ -28,6 +28,10 @@
#define IS_ESC 1
#define IS_CSI 2
+#ifdef printf
+#undef printf
+#endif
+
#define printf do_not_use_printf
void readline_show_prompt(ReadLineState *rs)