From d7976cae6bf014045c004e60a1c7ac67262a0f07 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Mon, 4 Dec 2017 22:11:33 +0100 Subject: [PATCH] add `__PPC__` to list of predefined symbols for powerpc-macos --- gcc/gcc/config/rs6000/macos.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/gcc/config/rs6000/macos.h b/gcc/gcc/config/rs6000/macos.h index b3dcf09f44..80cbcf57f3 100644 --- a/gcc/gcc/config/rs6000/macos.h +++ b/gcc/gcc/config/rs6000/macos.h @@ -147,6 +147,7 @@ do \ { \ builtin_define ("__ppc__"); \ + builtin_define ("__PPC__"); \ builtin_define ("__POWERPC__"); \ builtin_define ("__NATURAL_ALIGNMENT__"); \ builtin_assert ("system=macos"); \