aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer
diff options
context:
space:
mode:
authorsix <six@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-11 01:52:29 +0000
committersix <six@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-11 01:52:29 +0000
commit71411b1237ca7d610d1fc27eadf06fe4f5f8f335 (patch)
tree5c6208bc98904a2abf628d45fe5840fb593afeea /code/renderer
parent88fdced44f700d51f5f6c5d6183cd4d875c00d19 (diff)
downloadioquake3-aero-71411b1237ca7d610d1fc27eadf06fe4f5f8f335.tar.gz
ioquake3-aero-71411b1237ca7d610d1fc27eadf06fe4f5f8f335.zip
Fix build problems under OS X
git-svn-id: svn://svn.icculus.org/quake3/trunk@154 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer')
-rw-r--r--code/renderer/tr_shade.c4
-rw-r--r--code/renderer/tr_shade_calc.c2
-rw-r--r--code/renderer/tr_surface.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/code/renderer/tr_shade.c b/code/renderer/tr_shade.c
index d2b164b..03b20eb 100644
--- a/code/renderer/tr_shade.c
+++ b/code/renderer/tr_shade.c
@@ -21,8 +21,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// tr_shade.c
-#include "tr_local.h"
-#if idppc_altivec
+#include "tr_local.h"
+#if idppc_altivec && !defined(MACOS_X)
#include <altivec.h>
#endif
diff --git a/code/renderer/tr_shade_calc.c b/code/renderer/tr_shade_calc.c
index ae33c51..2c535a9 100644
--- a/code/renderer/tr_shade_calc.c
+++ b/code/renderer/tr_shade_calc.c
@@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// tr_shade_calc.c
#include "tr_local.h"
-#if idppc_altivec
+#if idppc_altivec && !defined(MACOS_X)
#include <altivec.h>
#endif
diff --git a/code/renderer/tr_surface.c b/code/renderer/tr_surface.c
index 7b5e764..183ef7f 100644
--- a/code/renderer/tr_surface.c
+++ b/code/renderer/tr_surface.c
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// tr_surf.c
#include "tr_local.h"
-#if idppc_altivec
+#if idppc_altivec && !defined(MACOS_X)
#include <altivec.h>
#endif