On Jan 26, 2006, at 10:53 PM, James Lauser wrote:

Just running --enable-mmx errors out with "error, no memalign() but
sse enabled, either disable it or use --enable-memalign-hack".
Adding --enable-memalign-hack fails with "{standard
input}:unknown:file contains unmatched .macro and .endmacro for:
FDCT_ROW_SSE2_H1it"


This is where is gets a little complicated. Mac OSX has no memalign () function because malloc() returns aligned memory by default. So I -think- one could do something like this:

#ifndef memalign()
        #define memalign() malloc()
#endif

I'm sure someone will correct me on the code part of it, but I am sure that malloc returns aligned memory by default.


Geoff

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to