On Sat, Dec 7, 2013 at 5:44 PM, Timothy Gu <[email protected]> wrote: > On Tue, Dec 3, 2013 at 9:39 PM, Diego Biurrun <[email protected]> wrote: >> --- >> >> Now using a different condition for MinGW64, which should work (TM). >> Testing very much welcome. >> >> configure | 12 +++++++----- >> 1 file changed, 7 insertions(+), 5 deletions(-) > > This should work as expected. Random _mingw.h dump using MXE > (http://mxe.cc) for all 3 toolchains: > > timothy_gu@ubuntu-surfacepro:~/mxe$ grep -r '#define > __MINGW...*_VERSION' usr/*/include/*.h > usr/i686-pc-mingw32/include/_mingw.h:#define __MINGW32_VERSION 3.20 > usr/i686-pc-mingw32/include/_mingw.h:#define __MINGW32_MAJOR_VERSION 3 > usr/i686-pc-mingw32/include/_mingw.h:#define __MINGW32_MINOR_VERSION 20 > usr/i686-w64-mingw32/include/_mingw_mac.h:#define __MINGW64_VERSION_MAJOR 3 > usr/i686-w64-mingw32/include/_mingw_mac.h:#define __MINGW64_VERSION_MINOR 0 > usr/i686-w64-mingw32/include/_mingw_mac.h:#define __MINGW64_VERSION_RC 1 > usr/i686-w64-mingw32/include/_mingw_mac.h:#define __MINGW64_VERSION_STR \ > usr/i686-w64-mingw32/include/_mingw_mac.h:#define > __MINGW64_VERSION_STATE "alpha" > usr/i686-w64-mingw32/include/_mingw_mac.h:#define __MINGW32_MAJOR_VERSION 3 > usr/i686-w64-mingw32/include/_mingw_mac.h:#define __MINGW32_MINOR_VERSION 11 > usr/x86_64-w64-mingw32/include/_mingw_mac.h:#define __MINGW64_VERSION_MAJOR 3 > usr/x86_64-w64-mingw32/include/_mingw_mac.h:#define __MINGW64_VERSION_MINOR 0 > usr/x86_64-w64-mingw32/include/_mingw_mac.h:#define __MINGW64_VERSION_RC 1 > usr/x86_64-w64-mingw32/include/_mingw_mac.h:#define __MINGW64_VERSION_STR \ > usr/x86_64-w64-mingw32/include/_mingw_mac.h:#define > __MINGW64_VERSION_STATE "alpha" > usr/x86_64-w64-mingw32/include/_mingw_mac.h:#define __MINGW32_MAJOR_VERSION 3 > usr/x86_64-w64-mingw32/include/_mingw_mac.h:#define __MINGW32_MINOR_VERSION 11 > > _mingw.h includes _mingw_mac.h so it shouldn't be a problem
Anyways I just tested on my MXE and everything works. In case the version macros are too unclear to you, I have: mingw32 3.20-2 mingw-w64 (both i686 and x86_64) 3.0.0 release (dunno why it's called "alpha") gcc 4.8.2 (for all 3 toolchains) Timothy _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
