summaryrefslogtreecommitdiffstats
path: root/heimdall/config.h.in
diff options
context:
space:
mode:
authorBenjamin-Dobell <benjamin.dobell+github@glassechidna.com.au>2010-12-05 10:33:30 +0100
committerBenjamin-Dobell <benjamin.dobell+github@glassechidna.com.au>2010-12-05 10:33:30 +0100
commit400e41e8f543ad57660696e4c9f6e4cc809b2568 (patch)
tree90d17a4f9411fd57e4bbf716bae4b29b464da4d6 /heimdall/config.h.in
parentChanged PPC preprocessor macro to WORDS_BIGENDIAN and added macro to (diff)
downloadHeimdall-400e41e8f543ad57660696e4c9f6e4cc809b2568.tar
Heimdall-400e41e8f543ad57660696e4c9f6e4cc809b2568.tar.gz
Heimdall-400e41e8f543ad57660696e4c9f6e4cc809b2568.tar.bz2
Heimdall-400e41e8f543ad57660696e4c9f6e4cc809b2568.tar.lz
Heimdall-400e41e8f543ad57660696e4c9f6e4cc809b2568.tar.xz
Heimdall-400e41e8f543ad57660696e4c9f6e4cc809b2568.tar.zst
Heimdall-400e41e8f543ad57660696e4c9f6e4cc809b2568.zip
Diffstat (limited to '')
-rw-r--r--heimdall/config.h.in15
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