Mercurial > hg > xemacs-beta
diff src/mem-limits.h @ 398:74fd4e045ea6 r21-2-29
Import from CVS: tag r21-2-29
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:13:30 +0200 |
parents | 7d59cb494b73 |
children | a86b2b5e0111 |
line wrap: on
line diff
--- a/src/mem-limits.h Mon Aug 13 11:12:06 2007 +0200 +++ b/src/mem-limits.h Mon Aug 13 11:13:30 2007 +0200 @@ -27,8 +27,8 @@ getrlimit() should be preferred to ulimit(). On Linux, ulimit() is deprecated and always returns -1. */ -#ifndef _XEMACS_MEM_LIMITS_H_ -#define _XEMACS_MEM_LIMITS_H_ +#ifndef INCLUDED_mem_limits_h_ +#define INCLUDED_mem_limits_h_ #ifdef HAVE_CONFIG_H #include <config.h> @@ -101,12 +101,7 @@ #endif extern POINTER start_of_data (void); -#ifdef DATA_SEG_BITS -#define EXCEEDS_LISP_PTR(ptr) \ - (((EMACS_UINT) (ptr) & ~DATA_SEG_BITS) >> VALBITS) -#else -#define EXCEEDS_LISP_PTR(ptr) ((EMACS_UINT) (ptr) >> VALBITS) -#endif +#define EXCEEDS_LISP_PTR(ptr) 0 #ifdef BSD #ifndef DATA_SEG_BITS @@ -225,4 +220,4 @@ #endif /* not NO_LIM_DATA */ #endif /* not HEAP_IN_DATA */ -#endif /* _XEMACS_MEM_LIMITS_H_ */ +#endif /* INCLUDED_mem_limits_h_ */