diff options
| -rw-r--r-- | src/data.c | 1 | ||||
| -rw-r--r-- | src/lisp.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c index 86e23984878..9eb06132e4f 100644 --- a/src/data.c +++ b/src/data.c @@ -22,6 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "config.h" #include "lisp.h" +#include "puresize.h" #ifndef standalone #include "buffer.h" diff --git a/src/lisp.h b/src/lisp.h index 1f952714079..6dfc06ba0cb 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -282,8 +282,9 @@ Lisp_Object; #ifndef XPNTR #ifdef HAVE_SHM /* In this representation, data is found in two widely separated segments. */ +extern int pure_size; #define XPNTR(a) \ - (XUINT (a) | (XUINT (a) > PURESIZE ? DATA_SEG_BITS : PURE_SEG_BITS)) + (XUINT (a) | (XUINT (a) > pure_size ? DATA_SEG_BITS : PURE_SEG_BITS)) #else /* not HAVE_SHM */ #ifdef DATA_SEG_BITS /* This case is used for the rt-pc. |
