Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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.
  • Loading branch information
Kevin Shanahan committed May 3, 2013
1 parent abe6516 commit 36e5ee8545abd498128401160b0ebb6624380cb0

File 2 of 2 in 36e5ee8

@@ -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

0 comments on commit 36e5ee8

Please sign in to comment.