Revision 59a36a2f
ID | 59a36a2f6728081050afc6ec97d0018467999f79 |
Win32: Fix compilation with SDL.
`sdl-config --cflags` defines main = SDL_main
on some platforms. One of these platforms is
Windows with mingw32.
For those platforms, the solution already developed
for APPLE is now applied.
A compiler warning (missing return value) is fixed, too.
Maybe APPLE no longer needs a separate check.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Files
- added
- modified
- copied
- renamed
- deleted