From cd776ee9408ff127f934a707c1a339ee600bc127 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 28 Jun 2011 13:50:53 +0100 Subject: [PATCH] qemu-char.c: fix incorrect CONFIG_STUBDOM handling qemu-char.c:1123:7: warning: "CONFIG_STUBDOM" is not defined [-Wundef] Signed-off-by: Olaf Hering Acked-by: Ian Jackson --- qemu-char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-char.c b/qemu-char.c index 7a6a33da2..35e428d12 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -1120,7 +1120,7 @@ static CharDriverState *qemu_chr_open_tty(const char *filename) qemu_chr_reset(chr); return chr; } -#elif CONFIG_STUBDOM +#elif defined(CONFIG_STUBDOM) #include static CharDriverState *qemu_chr_open_pty(void) { -- 2.39.5