summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/c-auto.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/xdvik/c-auto.in')
-rw-r--r--Build/source/texk/xdvik/c-auto.in17
1 files changed, 12 insertions, 5 deletions
diff --git a/Build/source/texk/xdvik/c-auto.in b/Build/source/texk/xdvik/c-auto.in
index c2f32e21a9a..6442e4f5fa0 100644
--- a/Build/source/texk/xdvik/c-auto.in
+++ b/Build/source/texk/xdvik/c-auto.in
@@ -3,6 +3,9 @@
/* Define to use A4 as the default paper size. */
#undef A4
+/* Define if building universal (internal helper macro) */
+#undef AC_APPLE_UNIVERSAL_BUILD
+
/* Define to the length (in bytes) of type BMTYPE. */
#undef BMBYTES
@@ -297,11 +300,15 @@
#undef USE_XPM
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
- significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
-#if defined __BIG_ENDIAN__
-# define WORDS_BIGENDIAN 1
-#elif ! defined __LITTLE_ENDIAN__
-# undef WORDS_BIGENDIAN
+ 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
/* Define to use the Xaw toolkit. */