From 87a2c8250a11bfdc17dde32b40676dcaef35eef9 Mon Sep 17 00:00:00 2001 From: "syeon.hwang" Date: Wed, 14 Mar 2012 22:45:55 +0900 Subject: [PATCH] Fix again vl.c for windows build --- vl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vl.c b/vl.c index 5557d9f..8b1cee3 100644 --- a/vl.c +++ b/vl.c @@ -93,20 +93,20 @@ #include #endif -#ifndef CONFIG_MARU #ifdef CONFIG_SDL #if defined(__APPLE__) || defined(main) #include int qemu_main(int argc, char **argv, char **envp); +#ifndef CONFIG_MARU int main(int argc, char **argv) { return qemu_main(argc, argv, NULL); } +#endif #undef main #define main qemu_main #endif #endif /* CONFIG_SDL */ -#endif #ifdef CONFIG_COCOA #undef main -- 2.7.4