mirror of
https://github.com/Genymobile/scrcpy
synced 2024-11-03 03:40:31 +00:00
Fix link error on Windows Subsystem for Linux
Build failed on WSL because of lack of reference to WinMain@16 during linking. Fixes <https://github.com/Genymobile/scrcpy/issues/316> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
5254e585c6
commit
ffa8c66979
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user