[FFmpeg-devel] [PATCH] mingw: Use avprive_vsnprintf in bprint
Derek Buitenhuis
derek.buitenhuis at gmail.com
Fri Sep 21 22:20:42 CEST 2012
On 21/09/2012 3:31 PM, jamal wrote:
> The other solution is creating a new header in the compat folder and forcing its inclusion when compiling for Mingw. The check for Mingw64 < 3 could be either done in that header, or in the configure script so the header gets included only when needed.
> In short, MSVC using -Dsnprintf and -Dvsnprintf with no headers as it's right now, and Mingw64 using -includecompat/someheader.h.
I just remembered that force including a local header may break configure checks (as it
cannot find dir/name.h). It should work if we pass it an absolute path though.
We could also just make one header and force include it in both MSVC and MinGW, but
the wrapper would have to be updated to have '-FI <path>' (as opposed to '-FI<path>').
- Derek
More information about the ffmpeg-devel
mailing list