diff --git a/src/main.cpp b/src/main.cpp index 7e5d39a..e599806 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -22,7 +22,14 @@ #include "window_manager.h" // Main code + +#ifdef SFML_SYSTEM_WINDOWS +#include + +int CALLBACK WinMain(HINSTANCE, HINSTANCE, LPSTR, int) +#else int main(int, char**) +#endif { vector_audio::SingleInstance instance; if (instance.HasRunningInstance()) {