Skip to content

Commit

Permalink
Fix build on powerpc but not mac
Browse files Browse the repository at this point in the history
...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.
  • Loading branch information
AMDmi3 authored and DanielGibson committed Feb 14, 2019
1 parent 31e877e commit 17c10d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/renderer/tr_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
===========================================================================
*/

#ifdef __ppc__
#if defined(__ppc__) && defined(__APPLE__)
#include <vecLib/vecLib.h>
#endif
#if defined(__GNUC__) && defined(__SSE2__)
Expand Down

0 comments on commit 17c10d4

Please sign in to comment.