pineapple-src/externals/vcpkg/ports/ffmpeg/0003-fix-windowsinclude.patch
2022-07-23 03:01:36 +02:00

13 lines
291 B
Diff
Executable file

diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 9cfbc45..e3447e6 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -63,6 +63,8 @@
#include <sys/resource.h>
#endif
#ifdef _WIN32
+#define _WIN32_WINNT 0x0502
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif