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) | |
download | qemu-bc5b6004588ad17370e0416e40b4aa9cf977023b.zip qemu-bc5b6004588ad17370e0416e40b4aa9cf977023b.tar.gz qemu-bc5b6004588ad17370e0416e40b4aa9cf977023b.tar.bz2 |
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
@@ -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) |