vcpkg/ports/ffmpeg/fix_windowsinclude-in-ffmpegexe-1.patch
Unknown 52034c287f allow building "ffmpeg.exe"
add new feature "ffmpeg" which allows to build "ffmpeg.exe" - ex. : vcpkg install ffmpeg[x264,gpl,nonfree,ffplay,ffprobe,openssl,lzma,opencl,ffmpeg]:x64-windows-static --recurse
2018-09-02 22:07:11 +02:00

12 lines
264 B
Diff

--- a/cmdutils.c 2017-07-29 19:49:29.000000000 +0200
+++ b/cmdutils.c 2018-09-02 20:31:42.509408400 +0200
@@ -62,6 +62,8 @@
#include <sys/resource.h>
#endif
#ifdef _WIN32
+#define _WIN32_WINNT 0x0600
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif