On Tue, 2 Aug 2016, Diego Biurrun wrote:

It no longer serves a useful purpose.
---

AFAICT this was added for MinGW at the beginning of the century.
MSVC does not need it, mingw-w64 does not need it. Some old Cygwin
1.7.x I had lying around did need it, however, a freshly installed
Cygwin 2.5.x does not need it. MinGW 3.22.1 needs it, which probably
only shows how obsolete MinGW really is. MinGW 3.22.1 is supposed to
be the last release before switching to the 5.x branch. One can only
hope (expect?) that they'll be a tad more current then.

Actually, it's not about how current MinGW is - it does have the necessary functions (the _aligned_malloc) function. The necessary function is only available from XP though, and MinGW still seems to default to win2k as baseline. Configuring with --extra-cflags=-D__MSVCRT_VERSION__=0x0700 does not need the memalign hack.

See https://lists.libav.org/pipermail/libav-devel/2012-June/029342.html for a discussion on the matter.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to