vcpkg/ports/ffmpeg/fix_windowsinclude-in-ffmpegexe-1.patch

12 lines
280 B
Diff
Raw Normal View History

--- a/fftools/cmdutils.c 2017-07-29 19:49:29.000000000 +0200
+++ b/fftools/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