From 94616c2a32c47e92a65e7f430b8dd643943deb28 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 26 Jan 2016 18:05:30 +0000 Subject: disas/microblaze.c: Don't define TRUE or FALSE Don't define TRUE and FALSE locally or manually include stdio.h; instead use osdep.h which provides them. This is a necessary prerequisite for moving to "everywhere includes osdep.h", because otherwise there is a compile error due to the redefinition of TRUE and FALSE. Signed-off-by: Peter Maydell Reviewed-by: Eric Blake Acked-by: Edgar E. Iglesias Message-id: 1453831531-667-2-git-send-email-peter.maydell@linaro.org --- disas/microblaze.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'disas/microblaze.c') diff --git a/disas/microblaze.c b/disas/microblaze.c index 5d1590795a..91b30acbe1 100644 --- a/disas/microblaze.c +++ b/disas/microblaze.c @@ -33,13 +33,10 @@ along with this program; if not, see . */ */ -#include +#include "qemu/osdep.h" #define STATIC_TABLE #define DEFINE_TABLE -#define TRUE 1 -#define FALSE 0 - #ifndef MICROBLAZE_OPC #define MICROBLAZE_OPC /* Assembler instructions for Xilinx's microblaze processor -- cgit v1.2.1