vcpkg/ports/ffmpeg/0003-fix-windowsinclude.patch
Matthew Oliver 5962fd3c53
[ffmpeg] Update to 5.1.2. (#28955)
* [opencv4] Update t 4.7.0.

* update versions.

* [rtabmap] Support opencv 4.7.

* Update versions.

* [ffmpeg] Update to 5.1.2.

* [ffmpeg] Use $VERSION

* [ffmpeg] Update versions.

* [nasm] Update to 2.16.01.

* [ffmpeg] Fix linker crash with nasm.

* [discordapi] Update to 2023-01-02 version.

* Update versions.

* [pangolin] Fix issue with ffmpeg 5.1.

* Update versions

* [ffmpeg] Fix nasm compilation with x86.

* Update ffmpeg.json

* Update ffmpeg.json

* Update portfile.cmake

* Update ffmpeg.json

* Update baseline.json

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-26 19:59:17 -08:00

14 lines
306 B
Diff

diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -51,6 +51,8 @@
#include "fopen_utf8.h"
#include "opt_common.h"
#ifdef _WIN32
+#define _WIN32_WINNT 0x0502
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "compat/w32dlfcn.h"
#endif