Frontend: further document __BYTE_ORDER__

llvm-svn: 161494
This commit is contained in:
Dylan Noblesmith
2012-08-08 16:09:12 +00:00
parent f2bac60f74
commit c0cebeddb2

View File

@@ -445,7 +445,9 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
// Initialize target-specific preprocessor defines.
// __BYTE_ORDER__ was added in GCC 4.6.
// __BYTE_ORDER__ was added in GCC 4.6. It's analogous
// to the macro __BYTE_ORDER (no trailing underscores)
// from glibc's <endian.h> header.
// We don't support the PDP-11 as a target, but include
// the define so it can still be compared against.
Builder.defineMacro("__ORDER_LITTLE_ENDIAN__", "1234");