diff options
author | robert <robert@FreeBSD.org> | 2001-10-15 13:50:47 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2001-10-15 13:50:47 +0000 |
commit | 8c33356c2c578ef18752a6398770b07bb0edab26 (patch) | |
tree | 86dc527b5e11807ee6d505e76b630d05b5cf6391 /lib | |
parent | 99d1d822a98b437e355ba8ec618a0d2833ff177c (diff) | |
download | FreeBSD-src-8c33356c2c578ef18752a6398770b07bb0edab26.zip FreeBSD-src-8c33356c2c578ef18752a6398770b07bb0edab26.tar.gz |
Define the types iaddr_t and saddr_t for sparc64.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libstand/zalloc_defs.h | 4 |
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" |