Added an #ifdef to block out a PowerPC-specific header on Mac OS X.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 24 Nov 2011 01:29:31 +0000 (20:29 -0500)
committerRyan C. Gordon <icculus@icculus.org>
Thu, 24 Nov 2011 01:29:31 +0000 (20:29 -0500)
neo/idlib/math/Math.h

index 415f86e..2373219 100644 (file)
@@ -29,7 +29,7 @@ If you have questions concerning this license or the applicable additional terms
 #ifndef __MATH_MATH_H__
 #define __MATH_MATH_H__
 
-#ifdef MACOS_X
+#if defined(MACOS_X) && defined(__powerpc__)
 // for square root estimate instruction
 #include <ppc_intrinsics.h>
 // for FLT_MIN