mirror of
https://github.com/yawut/SDL.git
synced 2026-07-09 05:05:26 -05:00
Fix compile on Xcode 3.1 PPC + Altivec
-faltivec is given on the command line, so #include <altivec.h> is ignored in this case and #undef'ing vector causes compile to fail.
This commit is contained in:
parent
908e617900
commit
80d6f659b2
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#if SDL_VIDEO_DRIVER_COCOA
|
||||
|
||||
#if defined(__APPLE__) && defined(__POWERPC__)
|
||||
#if defined(__APPLE__) && defined(__POWERPC__) && !defined(__APPLE_ALTIVEC__)
|
||||
#include <altivec.h>
|
||||
#undef bool
|
||||
#undef vector
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#if SDL_VIDEO_DRIVER_COCOA
|
||||
|
||||
#if defined(__APPLE__) && defined(__POWERPC__)
|
||||
#if defined(__APPLE__) && defined(__POWERPC__) && !defined(__APPLE_ALTIVEC__)
|
||||
#include <altivec.h>
|
||||
#undef bool
|
||||
#undef vector
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user