Mercurial > emacs
changeset 109900:256885bda0af
Small src/puresize.h cleanup.
* src/puresize.h: Remove code assuming PNTR_COMPARISON_TYPE is not
defined, unconditionally defined in lisp.h.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Fri, 20 Aug 2010 15:52:10 -0700 |
parents | b2b005d54ebb |
children | 5a7d60b243f4 |
files | src/ChangeLog src/puresize.h |
diffstat | 2 files changed, 3 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Fri Aug 20 15:44:38 2010 -0700 +++ b/src/ChangeLog Fri Aug 20 15:52:10 2010 -0700 @@ -1,5 +1,8 @@ 2010-08-20 Dan Nicolaescu <dann@ics.uci.edu> + * puresize.h: Remove code assuming PNTR_COMPARISON_TYPE is not + defined, unconditionally defined in lisp.h. + * term.c: Do not include <termios.h>, systty.h does it. * s/unixware.h (HAVE_TCATTR):
--- a/src/puresize.h Fri Aug 20 15:44:38 2010 -0700 +++ b/src/puresize.h Fri Aug 20 15:52:10 2010 -0700 @@ -87,7 +87,6 @@ && (PNTR_COMPARISON_TYPE) XPNTR (obj) >= (PNTR_COMPARISON_TYPE) pure) #else /* not VIRT_ADDR_VARIES */ -#ifdef PNTR_COMPARISON_TYPE /* When PNTR_COMPARISON_TYPE is not the default (unsigned int). */ extern char my_edata[]; @@ -95,14 +94,6 @@ #define PURE_P(obj) \ ((PNTR_COMPARISON_TYPE) XPNTR (obj) < (PNTR_COMPARISON_TYPE) my_edata) -#else /* not VIRT_ADDRESS_VARIES, not PNTR_COMPARISON_TYPE */ - -extern char my_edata[]; - -#define PURE_P(obj) \ - (XPNTR (obj) < (unsigned int) my_edata) - -#endif /* PNTR_COMPARISON_TYPE */ #endif /* VIRT_ADDRESS_VARIES */ /* arch-tag: fd9b0a91-a70e-4729-a75a-6bb4ca1ce14f