- Fix building on non i386 (because of a wrong #error directive).
Reported by: pointyhat
This commit is contained in:
parent
71ec812696
commit
e5fbe30dd1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190654
1 changed files with 18 additions and 0 deletions
18
games/evq3/files/patch-engine__qcommon__q_platform.h
Normal file
18
games/evq3/files/patch-engine__qcommon__q_platform.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- ./engine/qcommon/q_platform.h.orig Sat Dec 16 17:45:12 2006
|
||||
+++ ./engine/qcommon/q_platform.h Sun Apr 22 17:08:47 2007
|
||||
@@ -178,8 +178,14 @@
|
||||
|
||||
#ifdef __i386__
|
||||
#define ARCH_STRING "i386"
|
||||
-#elif defined __axp__
|
||||
+#elif defined __alpha__
|
||||
#define ARCH_STRING "alpha"
|
||||
+#elif defined __amd64__
|
||||
+#define ARCH_STRING "amd64"
|
||||
+#elif defined __sparc64__
|
||||
+#define ARCH_STRING "sparc64"
|
||||
+#else
|
||||
+#define ARCH_STRING "unknown"
|
||||
#endif
|
||||
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
Loading…
Reference in a new issue