diff --git a/idlib/math/Math.h b/idlib/math/Math.h index eb1abf1..b8a6a95 100644 --- a/idlib/math/Math.h +++ b/idlib/math/Math.h @@ -30,8 +30,6 @@ If you have questions concerning this license or the applicable additional terms #define __MATH_MATH_H__ #ifdef MACOS_X -// for square root estimate instruction -#include // for FLT_MIN #include #endif diff --git a/idlib/math/Simd_AltiVec.cpp b/idlib/math/Simd_AltiVec.cpp index 594d1b6..eb3a70b 100644 --- a/idlib/math/Simd_AltiVec.cpp +++ b/idlib/math/Simd_AltiVec.cpp @@ -35,10 +35,6 @@ If you have questions concerning this license or the applicable additional terms #include #include -#ifdef PPC_INTRINSICS - #include -#endif - // Doom3 SIMD Library version 0.5 // Patrick Flanagan (pflanagan@apple.com) // Sanjay Patel (spatel@apple.com) @@ -53,6 +49,11 @@ If you have questions concerning this license or the applicable additional terms #if defined(MACOS_X) && defined(__ppc__) +#ifdef PPC_INTRINSICS + // for square root estimate instruction + #include +#endif + // Data struct sizes #ifndef DRAWVERT_PADDED