emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r101152: Small src/puresize.h cleanup


From: Dan Nicolaescu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101152: Small src/puresize.h cleanup.
Date: Fri, 20 Aug 2010 15:52:10 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101152
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Fri 2010-08-20 15:52:10 -0700
message:
  Small src/puresize.h cleanup.
  * src/puresize.h: Remove code assuming PNTR_COMPARISON_TYPE is not
  defined, unconditionally defined in lisp.h.
modified:
  src/ChangeLog
  src/puresize.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-08-20 22:44:38 +0000
+++ b/src/ChangeLog     2010-08-20 22:52:10 +0000
@@ -1,5 +1,8 @@
 2010-08-20  Dan Nicolaescu  <address@hidden>
 
+       * 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):

=== modified file 'src/puresize.h'
--- a/src/puresize.h    2010-07-02 09:26:33 +0000
+++ b/src/puresize.h    2010-08-20 22:52:10 +0000
@@ -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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]