summaryrefslogtreecommitdiff
path: root/src/m/next.h
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-09-26 19:43:24 +0000
committerKarl Heuer <kwzh@gnu.org>1994-09-26 19:43:24 +0000
commit74d3f80691e9510faa2b0b62d7b3e4a3cccac295 (patch)
treee08bf5943ed211545884da28dac38546a2686b94 /src/m/next.h
parente292536097e00610a9e9325a304bcadb69945388 (diff)
downloademacs-74d3f80691e9510faa2b0b62d7b3e4a3cccac295.tar.gz
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Diffstat (limited to 'src/m/next.h')
-rw-r--r--src/m/next.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/m/next.h b/src/m/next.h
index d36bad2bbe6..63062135c94 100644
--- a/src/m/next.h
+++ b/src/m/next.h
@@ -33,6 +33,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define LONGBITS 32 /* Number of bits in a long */
+/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
+ is the most significant byte. */
+
+/* Let the compiler tell us. */
+#ifdef __BIG_ENDIAN__
+#define WORDS_BIG_ENDIAN
+#endif
+
/* Define how to take a char and sign-extend into an int.
On machines where char is signed, this is a no-op. */