Win32: Fix compilation with SDL.
commit59a36a2f6728081050afc6ec97d0018467999f79
authorStefan Weil <weil@mail.berlios.de>
Thu, 18 Jun 2009 18:11:03 +0000 (18 20:11 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 22 Jun 2009 15:15:30 +0000 (22 10:15 -0500)
tree2ad33274b77f25ecbcba0ec980e8355f075096c5
parent6243375f9bba12d8871ac611ca8ce947c3e16c67
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>
vl.c