diff src/mem-limits.h @ 8830:3f019f2a13f9

Check for __alpha, in __osf__ conditional. (EXCEEDS_LISP_PTR): Use EMACS_UINT.
author Richard M. Stallman <rms@gnu.org>
date Sat, 17 Sep 1994 00:39:50 +0000
parents 34c91bb33ed0
children 068c89ed6765
line wrap: on
line diff
--- a/src/mem-limits.h	Sat Sep 17 00:37:10 1994 +0000
+++ b/src/mem-limits.h	Sat Sep 17 00:39:50 1994 +0000
@@ -31,7 +31,7 @@
 
 #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 @@
 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