[libav-devel] [PATCH] configure: remove malloc_aligned.

Luca Barbato lu_zero at gentoo.org
Tue May 1 21:53:59 CEST 2012


On 01/05/12 12:06, Måns Rullgård wrote:
> Luca Barbato <lu_zero at gentoo.org> writes:
>>> osx has posix_memalign. Mingw lacks both. Rest don't know.
>>
>> bsds should have memalign and posix_memalign.
>>
>> The posix_memalign() function first appeared in FreeBSD 7.0.
> 
> What alignment is provided by malloc() on 64-bit mingw, and does anyone
> care if the manual alignment gets needlessly enabled there in some case?
> Since all the other systems appear to have [posix_]memalign, this should
> be fine on those.

It should be just a fringe case so I guess we are fine. If it gets
compelling we can rework it.

lu


-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero



More information about the libav-devel mailing list