vcpkg/ports/ffmpeg/fix_windowsinclude-in-ffmpegexe-1.patch
Unknown 8c3b87c95a 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
2019-02-28 05:23:41 -08: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