From 70627e4cdf23b8ada1882e1e77c7d7dfc881b9ce Mon Sep 17 00:00:00 2001 From: SeokYeon Hwang Date: Tue, 22 Jan 2013 17:02:12 +0900 Subject: [PATCH] vl.c: clean up macros Signed-off-by: SeokYeon Hwang --- vl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vl.c b/vl.c index 98817ff..937bae8 100644 --- a/vl.c +++ b/vl.c @@ -3125,10 +3125,8 @@ int main(int argc, char **argv, char **envp) qemu_opts_parse(olist, "accel=kvm", 0); break; case QEMU_OPTION_enable_gl: -#ifdef CONFIG_GL_BACKEND -#if defined(CONFIG_MARU) +#if defined(CONFIG_MARU) && defined(CONFIG_GL_BACKEND) enable_gl = 1; -#endif #else fprintf(stderr, "Virtio GL support is disabled, ignoring -enable-gl\n"); #endif -- 2.7.4