summaryrefslogtreecommitdiffstats
path: root/lib/libstand/zalloc_defs.h
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2001-10-15 13:50:47 +0000
committerrobert <robert@FreeBSD.org>2001-10-15 13:50:47 +0000
commit8c33356c2c578ef18752a6398770b07bb0edab26 (patch)
tree86dc527b5e11807ee6d505e76b630d05b5cf6391 /lib/libstand/zalloc_defs.h
parent99d1d822a98b437e355ba8ec618a0d2833ff177c (diff)
downloadFreeBSD-src-8c33356c2c578ef18752a6398770b07bb0edab26.zip
FreeBSD-src-8c33356c2c578ef18752a6398770b07bb0edab26.tar.gz
Define the types iaddr_t and saddr_t for sparc64.
Diffstat (limited to 'lib/libstand/zalloc_defs.h')
-rw-r--r--lib/libstand/zalloc_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libstand/zalloc_defs.h b/lib/libstand/zalloc_defs.h
index fda86c7..b51b6b2 100644
--- a/lib/libstand/zalloc_defs.h
+++ b/lib/libstand/zalloc_defs.h
@@ -59,6 +59,10 @@ typedef int saddr_t; /* signed int same size as pointer */
typedef unsigned long iaddr_t; /* unsigned int same size as pointer */
typedef long saddr_t; /* signed int same size as pointer */
#endif
+#ifdef __sparc64__
+typedef unsigned long iaddr_t; /* unsigned long same size as pointer */
+typedef long saddr_t; /* signed long same size as pointer */
+#endif
#include "zalloc_mem.h"
OpenPOWER on IntegriCloud