Skip to content

Display and control your Android device

Fix link error on Windows Subsystem for Linux

Gerdalffa8c66979d4
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 <stdint.h>
#include <unistd.h>
#include <libavformat/avformat.h>
+#define SDL_MAIN_HANDLED // avoid link error on Linux Windows Subsystem
#include <SDL2/SDL.h>
#include "compat.h"