mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add BEAST_ARM macro to detect ARM platforms
This commit is contained in:
@@ -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,9 +161,13 @@
|
|||||||
#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
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
// Compiler type macros.
|
// Compiler type macros.
|
||||||
|
|||||||
Reference in New Issue
Block a user