From 39a3e2456f26b1a547b8e47aea2533ea4530073c Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 11 Feb 2019 22:07:47 +0300 Subject: [PATCH] Fix build on powerpc but not mac ...by including `vecLib/vecLib.h` only on `__APPLE__`, and not just any `__ppc__` From https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235668: > On powerpc* platforms vecLib/vecLib.h is included by default. > This header is only available on Mac OS X, so remove it. It > doesn't seem to be actually needed to compile this port. --- neo/renderer/tr_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/renderer/tr_main.cpp b/neo/renderer/tr_main.cpp index 7012e329..3f3194eb 100644 --- a/neo/renderer/tr_main.cpp +++ b/neo/renderer/tr_main.cpp @@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms =========================================================================== */ -#ifdef __ppc__ +#if defined(__ppc__) && defined(__APPLE__) #include #endif #if defined(__GNUC__) && defined(__SSE2__)