On Fri, Mar 02, 2018 at 11:39:56AM +0100, Pierre Chatelier wrote: > Hello, > > I had an issue to compile ffmpeg under Win7 64 bits/mingw32 > Adding an include was the solution. > > Here is a patch > > Pierre Chatelier
> os_support.c | 1 + > 1 file changed, 1 insertion(+) > 94a8add1b8bf480f59d0330f3c2205b8ffbb1cb2 > 0001-fix-compilation-under-Win7-64bits-with-mingw32-by-ad.patch > From 91f049a9424f80961a8bc3406dc60bccd1d516b9 Mon Sep 17 00:00:00 2001 > From: Pierre Chatelier <[email protected]> > Date: Fri, 2 Mar 2018 11:28:48 +0100 > Subject: [PATCH 1/1] fix compilation under Win7 64bits with mingw32 by added > <WinError.h> the EAI_MEMORY macro was mapped to ERROR_NOT_ENOUGH_MEMORY which > was not defined > breaks build on mingw64 src/libavformat/os_support.c:39:22: fatal error: WinError.h: No such file or directory #include <WinError.h> [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Concerning the gods, I have no means of knowing whether they exist or not or of what sort they may be, because of the obscurity of the subject, and the brevity of human life -- Protagoras
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
