Add BEAST_ARM macro to detect ARM platforms

This commit is contained in:
Vinnie Falco
2013-06-21 13:33:56 -07:00
parent 8cdc00230d
commit 86142ecdf1

View File

@@ -116,6 +116,8 @@
#if defined (__ppc__) || defined (__ppc64__) #if defined (__ppc__) || defined (__ppc64__)
#define BEAST_PPC 1 #define BEAST_PPC 1
#elif defined (__arm__)
#define BEAST_ARM 1
#else #else
#define BEAST_INTEL 1 #define BEAST_INTEL 1
#endif #endif
@@ -159,8 +161,12 @@
#endif #endif
#if __MMX__ || __SSE__ || __amd64__ #if __MMX__ || __SSE__ || __amd64__
#ifdef __arm__
#define BEAST_ARM 1
#else
#define BEAST_INTEL 1 #define BEAST_INTEL 1
#endif #endif
#endif
#endif #endif
//============================================================================== //==============================================================================