From 86142ecdf12f13b189385787a7f66c76a578e4fb Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Fri, 21 Jun 2013 13:33:56 -0700 Subject: [PATCH] Add BEAST_ARM macro to detect ARM platforms --- modules/beast_core/system/beast_TargetPlatform.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/beast_core/system/beast_TargetPlatform.h b/modules/beast_core/system/beast_TargetPlatform.h index 2655cfab3..ac88ca8db 100644 --- a/modules/beast_core/system/beast_TargetPlatform.h +++ b/modules/beast_core/system/beast_TargetPlatform.h @@ -116,6 +116,8 @@ #if defined (__ppc__) || defined (__ppc64__) #define BEAST_PPC 1 + #elif defined (__arm__) + #define BEAST_ARM 1 #else #define BEAST_INTEL 1 #endif @@ -159,7 +161,11 @@ #endif #if __MMX__ || __SSE__ || __amd64__ - #define BEAST_INTEL 1 + #ifdef __arm__ + #define BEAST_ARM 1 + #else + #define BEAST_INTEL 1 + #endif #endif #endif