Resolve WinMain linking issues with CMake

This commit is contained in:
Cameron Cawley
2021-07-05 16:35:43 +01:00
parent b1781f4189
commit 77753c8539
6 changed files with 34 additions and 14 deletions

View File

@@ -1,5 +1,8 @@
#ifdef LIBRW_SDL2
#ifdef _WIN32
#define SDL_MAIN_HANDLED
#endif
#include <rw.h>
#include "skeleton.h"