summaryrefslogtreecommitdiffstats
path: root/libFDK/include/FDK_archdef.h
diff options
context:
space:
mode:
authorMark Harris <mark.hsj@gmail.com>2014-05-26 12:12:03 -0700
committerMark Harris <mark.hsj@gmail.com>2014-05-26 12:12:03 -0700
commit72fd73dbdd48a07c9eeae944fe9f1a9681628156 (patch)
treeca3ceafccde2200156e5bc9d514caaf53a456666 /libFDK/include/FDK_archdef.h
parent2f29dd48d02d402169246e3c7f9256869817392a (diff)
downloadfdk-aac-72fd73dbdd48a07c9eeae944fe9f1a9681628156.tar.gz
fdk-aac-72fd73dbdd48a07c9eeae944fe9f1a9681628156.tar.bz2
fdk-aac-72fd73dbdd48a07c9eeae944fe9f1a9681628156.zip
Fix PowerPC Mac build
Diffstat (limited to 'libFDK/include/FDK_archdef.h')
-rw-r--r--libFDK/include/FDK_archdef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libFDK/include/FDK_archdef.h b/libFDK/include/FDK_archdef.h
index da63aee..6628b90 100644
--- a/libFDK/include/FDK_archdef.h
+++ b/libFDK/include/FDK_archdef.h
@@ -107,6 +107,10 @@ amm-info@iis.fraunhofer.de
#define __arm__
#endif
+#if defined(_ARCH_PPC) && !defined(__powerpc__)
+#define __powerpc__ 1
+#endif
+
/* Define __ARM_ARCH_5TE__ if armv5te features are supported */