laanwj / sundog

A port of the Atari ST game SunDog: Frozen Legacy (1984) by FTL software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use SDLmain library

laanwj opened this issue · comments

Currently the windows build is broken because of a missing WinMain function. Instead of writing custom main functionality for every platform we'd be better off to simply use the auxiliary library SDL2main and rename main to SDL_main.

Here's an example here of using SDL2main with meson: https://github.com/jpakkane/sdl2meson/blob/master/meson.build