]> code.delx.au - gnu-emacs/commitdiff
Check for __alpha, in __osf__ conditional.
authorRichard M. Stallman <rms@gnu.org>
Sat, 17 Sep 1994 00:39:50 +0000 (00:39 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 17 Sep 1994 00:39:50 +0000 (00:39 +0000)
(EXCEEDS_LISP_PTR): Use EMACS_UINT.

src/mem-limits.h

index 08743d533fc804baf4383142dfd44da1da99edd3..67d9462c769d526b3f691f6e606669a038845603 100644 (file)
@@ -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