[Mplayer-dev-eng] Memailgn & FreeBSD

Arpi arpi at thot.banki.hu
Fri Aug 24 01:44:32 CEST 2001


Hi,

> Hi,
> 
> Sorry, but replacement smem_alloc -> memalign breaks compilation under
> FreeBSD. Could you #ifndef __FreeBSD__ it?
> 

we should add a test into configure. (try to compile test prg with memalign)
i think it's broken even on old linux systems too.

if sys doens't have memalign, then add

#define memalign(x,y) malloc(y)

to config.h

A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list