From dc5a039f7bc2319b477346c835c2204f9ac17474 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sun, 14 Jan 2018 21:28:44 +0500 Subject: Special workaround to build WinRel without console --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 0e1a1ac..eac2417 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -32,7 +32,9 @@ void initLogger() { LOG(INFO) << "Logger is configured"; } +#ifndef USE_SDL_MAIN #undef main +#endif int main(int argc, char** argv) { srand(time(0)); -- cgit v1.2.3