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
commite00f8ab8eb1cbeda7e595447054e1542c5f366bc (patch)
tree3d179c20607e5bb6dc22f5274f58113a371b87f2 /src/mem-limits.h
parentf2129a1b61d8d67c0760a00d8fdb7b0a23ce1b96 (diff)
downloademacs-e00f8ab8eb1cbeda7e595447054e1542c5f366bc.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