Mercurial > emacs
comparison src/m/next.h @ 9095:23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 26 Sep 1994 19:43:24 +0000 |
parents | ee5972fe2358 |
children | 1d4654a97585 |
comparison
equal
deleted
inserted
replaced
9094:39a13b869d66 | 9095:23f72b18b420 |
---|---|
30 #define SHORTBITS 16 /* Number of bits in a short */ | 30 #define SHORTBITS 16 /* Number of bits in a short */ |
31 | 31 |
32 #define INTBITS 32 /* Number of bits in an int */ | 32 #define INTBITS 32 /* Number of bits in an int */ |
33 | 33 |
34 #define LONGBITS 32 /* Number of bits in a long */ | 34 #define LONGBITS 32 /* Number of bits in a long */ |
35 | |
36 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word | |
37 is the most significant byte. */ | |
38 | |
39 /* Let the compiler tell us. */ | |
40 #ifdef __BIG_ENDIAN__ | |
41 #define WORDS_BIG_ENDIAN | |
42 #endif | |
35 | 43 |
36 /* Define how to take a char and sign-extend into an int. | 44 /* Define how to take a char and sign-extend into an int. |
37 On machines where char is signed, this is a no-op. */ | 45 On machines where char is signed, this is a no-op. */ |
38 | 46 |
39 #define SIGN_EXTEND_CHAR(c) (c) | 47 #define SIGN_EXTEND_CHAR(c) (c) |