1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Fix building on non i386 (because of a wrong #error directive).

Reported by:	pointyhat
This commit is contained in:
Alejandro Pulver 2007-04-22 22:42:09 +00:00
parent 71ec812696
commit e5fbe30dd1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190654

View 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