Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games/openarena: fix build on powerpc
Similar fix to powerpc64*.
- Loading branch information
Showing
2 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
--- code/qcommon/q_platform.h.orig 2020-11-23 13:12:36 UTC | ||
+++ code/qcommon/q_platform.h | ||
@@ -235,6 +235,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
@@ -235,6 +235,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
#define ARCH_STRING "amd64" | ||
#elif defined __axp__ | ||
#define ARCH_STRING "alpha" | ||
+#elif defined __powerpc64__ | ||
+#define ARCH_STRING "ppc64" | ||
+#elif defined __powerpc__ | ||
+#define ARCH_STRING "ppc" | ||
#endif | ||
|
||
#if BYTE_ORDER == BIG_ENDIAN |