From c3769df14ca412c6d0b9d8a92eddf7ca63178702 Mon Sep 17 00:00:00 2001 From: Mark Harris Date: Mon, 26 May 2014 12:12:03 -0700 Subject: [PATCH] Fix PowerPC Mac build --- libFDK/include/FDK_archdef.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libFDK/include/FDK_archdef.h b/libFDK/include/FDK_archdef.h index 95601bb..851739c 100644 --- a/libFDK/include/FDK_archdef.h +++ b/libFDK/include/FDK_archdef.h @@ -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 */