mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-17 21:44:20 +01:00
Fix test compilation on mingw
Including SDL2/SDL.h redefines main to SDL_main by default.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user