Skip to content

Commit 17c10d4

Browse files
AMDmi3DanielGibson
authored andcommitted
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.
1 parent 31e877e commit 17c10d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/renderer/tr_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
2626
===========================================================================
2727
*/
2828

29-
#ifdef __ppc__
29+
#if defined(__ppc__) && defined(__APPLE__)
3030
#include <vecLib/vecLib.h>
3131
#endif
3232
#if defined(__GNUC__) && defined(__SSE2__)

0 commit comments

Comments
 (0)