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.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/Build/source/texk/xdvik/c-auto.in b/Build/source/texk/xdvik/c-auto.in
index cf4595ea96a..c2f32e21a9a 100644
--- a/Build/source/texk/xdvik/c-auto.in
+++ b/Build/source/texk/xdvik/c-auto.in
@@ -296,9 +296,13 @@
/* Define if you want to use the Xpm library */
#undef USE_XPM
-/* Define to 1 if your processor stores words with the most significant byte
- first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
+/* 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
+#endif
/* Define to use the Xaw toolkit. */
#undef XAW