mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-23 12:53:09 +00:00
Only include ppc_intrinsics.h when required
This commit is contained in:
parent
c15e761bae
commit
798de99dfb
2 changed files with 5 additions and 6 deletions
|
@ -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 <ppc_intrinsics.h>
|
||||
// for FLT_MIN
|
||||
#include <float.h>
|
||||
#endif
|
||||
|
|
|
@ -35,10 +35,6 @@ If you have questions concerning this license or the applicable additional terms
|
|||
#include <math.h>
|
||||
#include <float.h>
|
||||
|
||||
#ifdef PPC_INTRINSICS
|
||||
#include <ppc_intrinsics.h>
|
||||
#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 <ppc_intrinsics.h>
|
||||
#endif
|
||||
|
||||
// Data struct sizes
|
||||
|
||||
#ifndef DRAWVERT_PADDED
|
||||
|
|
Loading…
Reference in a new issue