forked from OSchip/llvm-project
Don't define _BIG_ENDIAN for NetBSD/PowerPC.
llvm-svn: 134411
This commit is contained in:
parent
a6d11777f9
commit
870b3c5429
|
@ -674,6 +674,7 @@ void PPCTargetInfo::getTargetDefines(const LangOptions &Opts,
|
|||
}
|
||||
|
||||
// Target properties.
|
||||
if (getTriple().getOS() != llvm::Triple::NetBSD)
|
||||
Builder.defineMacro("_BIG_ENDIAN");
|
||||
Builder.defineMacro("__BIG_ENDIAN__");
|
||||
|
||||
|
|
Loading…
Reference in New Issue