mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 23:47:51 +08:00
8c3b87c95a
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
15 lines
546 B
Diff
15 lines
546 B
Diff
--- a/ffmpeg.c 2017-07-29 19:49:29.000000000 +0200
|
|
+++ b/ffmpeg.c 2018-09-02 20:32:27.666725200 +0200
|
|
@@ -23,6 +23,11 @@
|
|
* multimedia converter based on the FFmpeg libraries
|
|
*/
|
|
|
|
+#define _WIN32_WINNT 0x0502 // Must be less than 0x0600, because otherwise WinSock2.h defines "pollfd" which then gets redefined in "os_support.h".
|
|
+ // I suppose that "HAVE_STRUCT_POLLFD" should be 1, but it happens to be 0. Sorry, this is somewhat beyond me.
|
|
+#define WIN32_LEAN_AND_MEAN
|
|
+
|
|
+
|
|
#include "config.h"
|
|
#include <ctype.h>
|
|
#include <string.h>
|