Mercurial > hg > xemacs-beta
comparison src/m/acorn.h @ 400:a86b2b5e0111 r21-2-30
Import from CVS: tag r21-2-30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:14:34 +0200 |
parents | 0132846995bd |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
399:376370fb5946 | 400:a86b2b5e0111 |
---|---|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
19 Boston, MA 02111-1307, USA. */ | 19 Boston, MA 02111-1307, USA. */ |
20 | 20 |
21 /* Synched up with: FSF 19.31. */ | 21 /* Synched up with: FSF 19.31. */ |
22 | 22 |
23 /* Define WORD_MACHINE if addresses and such have | |
24 * to be corrected before they can be used as byte counts. */ | |
25 | |
26 #undef WORD_MACHINE | |
27 | |
28 /* Define how to take a char and sign-extend into an int. | |
29 On machines where char is signed, this is a no-op. */ | |
30 | |
31 /* ARM note - The RISCiX Norcroft C Compiler has ALL | |
32 non-32-bit types as unsigned */ | |
33 | |
34 #define SIGN_EXTEND_CHAR(c) (((int)(c) << 24) >> 24) | |
35 | |
36 /* Now define a symbol for the cpu type, if your compiler | 23 /* Now define a symbol for the cpu type, if your compiler |
37 does not define it automatically: | 24 does not define it automatically: |
38 Ones defined so far include vax, m68000, ns16000, pyramid, | 25 Ones defined so far include vax, m68000, ns16000, pyramid, |
39 orion, tahoe, APOLLO and many others */ | 26 orion, tahoe, APOLLO and many others */ |
40 | 27 |
41 /* ARM note - this is done by the Norcroft compiler - symbol is `__arm' */ | 28 /* ARM note - this is done by the Norcroft compiler - symbol is `__arm' */ |
42 | |
43 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
44 the bit field into an int. In other words, if bit fields | |
45 are always unsigned. | |
46 | |
47 If you use NO_UNION_TYPE, this flag does not matter. */ | |
48 | |
49 #define EXPLICIT_SIGN_EXTEND | |
50 | 29 |
51 #ifdef LDAV_SYMBOL | 30 #ifdef LDAV_SYMBOL |
52 #undef LDAV_SYMBOL | 31 #undef LDAV_SYMBOL |
53 #endif | 32 #endif |
54 | 33 |