From ffa8c66979d4262a95cad584894b9a5fbeea0e84 Mon Sep 17 00:00:00 2001 From: Gerdal Date: Wed, 27 Mar 2019 19:37:44 +0100 Subject: [PATCH] Fix link error on Windows Subsystem for Linux Build failed on WSL because of lack of reference to WinMain@16 during linking. Fixes Signed-off-by: Romain Vimont --- app/src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main.c b/app/src/main.c index b2a6bf5e..c61db725 100644 --- a/app/src/main.c +++ b/app/src/main.c @@ -5,6 +5,7 @@ #include #include #include +#define SDL_MAIN_HANDLED // avoid link error on Linux Windows Subsystem #include #include "compat.h"