« Previous | Next » 

Revision 59a36a2f

ID59a36a2f6728081050afc6ec97d0018467999f79

Added by Stefan Weil almost 15 years ago

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 <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences