Commit d79f7ed0 authored by Sam Lantinga's avatar Sam Lantinga

Fixed altivec.h include on Mac OS X

parent e4a0db29
...@@ -42,6 +42,14 @@ ...@@ -42,6 +42,14 @@
#elif defined(__MINGW64_VERSION_MAJOR) #elif defined(__MINGW64_VERSION_MAJOR)
#include <intrin.h> #include <intrin.h>
#else #else
#ifdef __ALTIVEC__
#if HAVE_ALTIVEC_H && !defined(__APPLE_ALTIVEC__)
#include <altivec.h>
#undef vector
#undef pixel
#undef bool
#endif
#endif
#ifdef __MMX__ #ifdef __MMX__
#include <mmintrin.h> #include <mmintrin.h>
#endif #endif
...@@ -54,9 +62,6 @@ ...@@ -54,9 +62,6 @@
#ifdef __SSE2__ #ifdef __SSE2__
#include <emmintrin.h> #include <emmintrin.h>
#endif #endif
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
#endif #endif
#include "begin_code.h" #include "begin_code.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment