diff options
Diffstat (limited to 'bfd/config.in')
-rw-r--r-- | bfd/config.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bfd/config.in b/bfd/config.in index e5132df..7ff3eee 100644 --- a/bfd/config.in +++ b/bfd/config.in @@ -7,6 +7,9 @@ #endif #define __CONFIG_H__ 1 +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + /* Name of host specific core header file to include in elf.c. */ #undef CORE_HEADER @@ -325,6 +328,18 @@ /* Version number of package */ #undef VERSION +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif + /* Enable large inode numbers on Mac OS X 10.5. */ #ifndef _DARWIN_USE_64_BIT_INODE # define _DARWIN_USE_64_BIT_INODE 1 |