summaryrefslogtreecommitdiff
path: root/src/mem-limits.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-17 00:39:50 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-17 00:39:50 +0000
commit9aae3fc9ebc231ec20e94b0c6ad7976e17580963 (patch)
tree1ea8d1dd34fced4226bdeac373fcefe7d14a8dc1 /src/mem-limits.h
parent609b39788dccc1cbdeed4efb62c488e5a8299fc8 (diff)
downloademacs-9aae3fc9ebc231ec20e94b0c6ad7976e17580963.tar.gz
Check for __alpha, in __osf__ conditional.
(EXCEEDS_LISP_PTR): Use EMACS_UINT.
Diffstat (limited to 'src/mem-limits.h')
-rw-r--r--src/mem-limits.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h
index 08743d533fc..67d9462c769 100644
--- a/src/mem-limits.h
+++ b/src/mem-limits.h
@@ -31,7 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#else
-#if defined (__osf__) && (defined (__mips) || defined (mips))
+#if defined (__osf__) && (defined (__mips) || defined (mips) || defined(__alpha))
#include <sys/time.h>
#include <sys/resource.h>
#endif
@@ -73,9 +73,9 @@ typedef unsigned long SIZE;
extern POINTER start_of_data ();
#ifdef DATA_SEG_BITS
#define EXCEEDS_LISP_PTR(ptr) \
- (((unsigned int) (ptr) & ~DATA_SEG_BITS) >> VALBITS)
+ (((EMACS_UINT) (ptr) & ~DATA_SEG_BITS) >> VALBITS)
#else
-#define EXCEEDS_LISP_PTR(ptr) ((unsigned int) (ptr) >> VALBITS)
+#define EXCEEDS_LISP_PTR(ptr) ((EMACS_UINT) (ptr) >> VALBITS)
#endif
#ifdef BSD