* [Qemu-devel] [6620] Unbreak SDL on Mac OS X
@ 2009-02-15 20:18 malc
0 siblings, 0 replies; only message in thread
From: malc @ 2009-02-15 20:18 UTC (permalink / raw)
To: qemu-devel
Revision: 6620
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6620
Author: malc
Date: 2009-02-15 20:18:41 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Unbreak SDL on Mac OS X
Modified Paths:
--------------
trunk/vl.c
Modified: trunk/vl.c
===================================================================
--- trunk/vl.c 2009-02-13 21:44:41 UTC (rev 6619)
+++ trunk/vl.c 2009-02-15 20:18:41 UTC (rev 6620)
@@ -137,6 +137,13 @@
#ifdef CONFIG_SDL
#ifdef __APPLE__
#include <SDL/SDL.h>
+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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-15 20:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-15 20:18 [Qemu-devel] [6620] Unbreak SDL on Mac OS X malc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).