Skip to content

Display and control your Android device

Fix test compilation on mingw

Romain Vimont3259c60b2259
diff --git a/app/tests/test_strutil.c b/app/tests/test_strutil.c
index 1489b1bd..ddc8399b 100644
--- a/app/tests/test_strutil.c
+++ b/app/tests/test_strutil.c
@@ -1,5 +1,6 @@
#include <assert.h>
#include <string.h>
+#define SDL_MAIN_HANDLED // avoid to redefine main to SDL_main
#include <SDL2/SDL.h>
#include "util/str_util.h"