mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 21:40:49 +00:00
Unbreak SDL on Mac OS X
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6620 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
7e000c2e3d
commit
880fec5d08
7
vl.c
7
vl.c
@ -137,6 +137,13 @@
|
|||||||
#ifdef CONFIG_SDL
|
#ifdef CONFIG_SDL
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#include <SDL/SDL.h>
|
#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
|
||||||
#endif /* CONFIG_SDL */
|
#endif /* CONFIG_SDL */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user