Fix PowerPC Mac build

This commit is contained in:
Mark Harris 2014-05-26 12:12:03 -07:00 committed by Martin Storsjo
parent 68e7a95519
commit c3769df14c
1 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,10 @@ amm-info@iis.fraunhofer.de
#define __arm__
#endif
#if defined(_ARCH_PPC) && !defined(__powerpc__)
#define __powerpc__ 1
#endif
#if (__TARGET_ARCH_ARM == 5) || defined(__TARGET_FEATURE_DSPMUL) || \
(_M_ARM == 5) || defined(__ARM_ARCH_5TEJ__) || defined(__ARM_ARCH_7EM__)
/* Define __ARM_ARCH_5TE__ if armv5te features are supported */