yuzu/externals/vcpkg/ports/ffmpeg/0003-fix-windowsinclude.patch

14 lines
291 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
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