From: malc Date: Sun, 15 Feb 2009 20:18:41 +0000 (+0000) Subject: Unbreak SDL on Mac OS X X-Git-Tag: stable_0_10_0.branchpoint~65 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=880fec5d086cb528b6fdb5948ccacbc1dcce5cfd;p=qemu-xen-4.4-testing.git Unbreak SDL on Mac OS X git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6620 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/vl.c b/vl.c index 5f237d0a0..b6530567a 100644 --- a/vl.c +++ b/vl.c @@ -137,6 +137,13 @@ #ifdef CONFIG_SDL #ifdef __APPLE__ #include +int qemu_main(int argc, char **argv, char **envp); +int main(int argc, char **argv) +{ + qemu_main(argc, argv, NULL); +} +#undef main +#define main qemu_main #endif #endif /* CONFIG_SDL */