diff options
Diffstat (limited to 'src')
| -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. */ | |||
| 22 | 22 | ||
| 23 | #include "config.h" | 23 | #include "config.h" |
| 24 | #include "lisp.h" | 24 | #include "lisp.h" |
| 25 | #include "puresize.h" | ||
| 25 | 26 | ||
| 26 | #ifndef standalone | 27 | #ifndef standalone |
| 27 | #include "buffer.h" | 28 | #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; | |||
| 282 | #ifndef XPNTR | 282 | #ifndef XPNTR |
| 283 | #ifdef HAVE_SHM | 283 | #ifdef HAVE_SHM |
| 284 | /* In this representation, data is found in two widely separated segments. */ | 284 | /* In this representation, data is found in two widely separated segments. */ |
| 285 | extern int pure_size; | ||
| 285 | #define XPNTR(a) \ | 286 | #define XPNTR(a) \ |
| 286 | (XUINT (a) | (XUINT (a) > PURESIZE ? DATA_SEG_BITS : PURE_SEG_BITS)) | 287 | (XUINT (a) | (XUINT (a) > pure_size ? DATA_SEG_BITS : PURE_SEG_BITS)) |
| 287 | #else /* not HAVE_SHM */ | 288 | #else /* not HAVE_SHM */ |
| 288 | #ifdef DATA_SEG_BITS | 289 | #ifdef DATA_SEG_BITS |
| 289 | /* This case is used for the rt-pc. | 290 | /* This case is used for the rt-pc. |