Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed altivec.h include on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 23, 2011
1 parent 31ef94d commit 7ea1670
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions include/SDL_cpuinfo.h
Expand Up @@ -42,6 +42,14 @@
#elif defined(__MINGW64_VERSION_MAJOR)
#include <intrin.h>
#else
#ifdef __ALTIVEC__
#if HAVE_ALTIVEC_H && !defined(__APPLE_ALTIVEC__)
#include <altivec.h>
#undef vector
#undef pixel
#undef bool
#endif
#endif
#ifdef __MMX__
#include <mmintrin.h>
#endif
Expand All @@ -54,9 +62,6 @@
#ifdef __SSE2__
#include <emmintrin.h>
#endif
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
#endif

#include "begin_code.h"
Expand Down

0 comments on commit 7ea1670

Please sign in to comment.