diff options
author | malc <av1474@comtv.ru> | 2010-02-07 02:04:28 +0300 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2010-02-07 02:04:28 +0300 |
commit | bc5b6004588ad17370e0416e40b4aa9cf977023b (patch) | |
tree | e02a59e0a34449fdd29c8b29e31ac55f25890d93 /readline.c | |
parent | d0f2c4c60263e29a87681433e696844401514194 (diff) |
On some systems printf is a macro
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'readline.c')
-rw-r--r-- | readline.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/readline.c b/readline.c index 7834af0f6b..165ae35a4b 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) |