Adds support for building on Intel Macs, using a modified
version of patch 1448395 by Aubin and some of my own changes. Notably: * Two elements of a struct in backends/midi/quicktime.cpp needed to be forced to BE. * NASM set to build Mach-O binaries * configure now checks for Altivec support on Darwin hosts, instead of assuming it. Altivec support can also be disabled (not 100% sure if t his is actually needed, but might be handy for crosscompiling). * The aliasing of the symbols contained in the .asm files done on Windows were also needed on MacOS. Note that while the asm code is properly compiled and linked in, HQ2/3x support will still not work properly on Intel macs if NASM is enabled. svn-id: r21280
This commit is contained in:
parent
c822f49676
commit
c3d8674a26
5 changed files with 38 additions and 5 deletions
|
@ -37,9 +37,11 @@ extern "C" {
|
|||
// condition here
|
||||
|
||||
#ifndef _WIN32
|
||||
#ifndef MACOSX
|
||||
#define RGBtoYUV _RGBtoYUV
|
||||
#define LUT16to32 _LUT16to32
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue