diff options
Diffstat (limited to 'heimdall/config.h.in')
-rw-r--r-- | heimdall/config.h.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/heimdall/config.h.in b/heimdall/config.h.in index dc63b86..8fda1b2 100644 --- a/heimdall/config.h.in +++ b/heimdall/config.h.in @@ -1,5 +1,8 @@ /* config.h.in. Generated from configure.ac by autoheader. */ +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H @@ -63,3 +66,15 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS + +/* 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 |