Mercurial > hg > xemacs-beta
diff src/m/next.h @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | a86b2b5e0111 |
children |
line wrap: on
line diff
--- a/src/m/next.h Mon Aug 13 11:19:22 2007 +0200 +++ b/src/m/next.h Mon Aug 13 11:20:41 2007 +0200 @@ -26,6 +26,15 @@ #define NeXT #endif +/* Define how to take a char and sign-extend into an int. + On machines where char is signed, this is a no-op. */ + +#define SIGN_EXTEND_CHAR(c) (c) + +/* XINT must explicitly sign-extend */ + +#define EXPLICIT_SIGN_EXTEND + /* Say that the text segment of a.out includes the header; the header actually occupies the first few bytes of the text segment and is counted in hdr.a_text. */