From aa44982b20f1675815c9542c1344e6d24282f1b7 Mon Sep 17 00:00:00 2001 From: Garux Date: Tue, 11 Feb 2020 18:46:41 +0300 Subject: [PATCH] define more architectures in mbspc -> q_platform.h, as we do not define them in Makefile --- tools/mbspc/qcommon/q_platform.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tools/mbspc/qcommon/q_platform.h b/tools/mbspc/qcommon/q_platform.h index dfe7d3de2..d3b3b6b00 100644 --- a/tools/mbspc/qcommon/q_platform.h +++ b/tools/mbspc/qcommon/q_platform.h @@ -184,6 +184,30 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define ARCH_STRING "i386" #elif defined __x86_64__ #define ARCH_STRING "x86_64" +#elif defined __powerpc64__ +#define ARCH_STRING "ppc64" +#elif defined __powerpc__ +#define ARCH_STRING "ppc" +#elif defined __s390__ +#define ARCH_STRING "s390" +#elif defined __s390x__ +#define ARCH_STRING "s390x" +#elif defined __ia64__ +#define ARCH_STRING "ia64" +#elif defined __alpha__ +#define ARCH_STRING "alpha" +#elif defined __sparc__ +#define ARCH_STRING "sparc" +#elif defined __arm__ +#define ARCH_STRING "arm" +#elif defined __cris__ +#define ARCH_STRING "cris" +#elif defined __hppa__ +#define ARCH_STRING "hppa" +#elif defined __mips__ +#define ARCH_STRING "mips" +#elif defined __sh__ +#define ARCH_STRING "sh" #endif #if defined __x86_64__