[Bug 3268] New: Mac OS X ppc build still relies on Carbon API

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Thu Jul 19 00:40:09 EDT 2007


http://bugzilla.icculus.org/show_bug.cgi?id=3268

           Summary: Mac OS X ppc build still relies on Carbon API
           Product: Quake 3
           Version: 1.33 SVN
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Platform
        AssignedTo: tjw at tjw.org
        ReportedBy: tjw at tjw.org
         QAContact: quake3-bugzilla at icculus.org


http://tremulous.net/phpBB2/viewtopic.php?t=5608

As pointed out in this thread, the Carbon call MakeDataExecutable( ... ) can be
replaced with msync( ..., MS_INVALIDATE ) removing the need for linking with
the Carbon framework for the PPC mac build.

The Gestalt() Carbon function was also being used to detect Altivec capability,
so I replaced this with the mach-o check SDL uses.

Attached patch seems to work fine with both a OS X 10.4 compile and one built
against the 10.2.8SDK.


-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the quake3-bugzilla mailing list