[mythtv] MythTV on Mac OS X for Intel

Geoffrey Kruse gkruse at gmail.com
Fri Jan 27 03:00:26 UTC 2006

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:

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()

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2361 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20060126/ec38504b/smime.bin

More information about the mythtv-dev mailing list