diff options
author | cognet <cognet@FreeBSD.org> | 2004-05-14 13:32:13 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2004-05-14 13:32:13 +0000 |
commit | f07113c7ad10621710263caa95da298f8b2a7c18 (patch) | |
tree | bff947a4cc3b6089bad71dcc1b7890124f97746a /lib/libstand | |
parent | 797424d85b3c4b00f9953ddaad93922cf5e3c2da (diff) | |
download | FreeBSD-src-f07113c7ad10621710263caa95da298f8b2a7c18.zip FreeBSD-src-f07113c7ad10621710263caa95da298f8b2a7c18.tar.gz |
Define iaddr_t and saddr_t for arm.
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/zalloc_defs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libstand/zalloc_defs.h b/lib/libstand/zalloc_defs.h index efde5b5..668f785 100644 --- a/lib/libstand/zalloc_defs.h +++ b/lib/libstand/zalloc_defs.h @@ -61,7 +61,10 @@ typedef long saddr_t; /* signed long same size as pointer */ typedef unsigned long iaddr_t; /* unsigned long same size as pointer */ typedef long saddr_t; /* signed long same size as pointer */ #endif - +#ifdef __arm__ +typedef unsigned long iaddr_t; /* unsigned int same size as pointer */ +typedef int saddr_t; /* signed int same size as pointer */ +#endif #include "zalloc_mem.h" #define Prototype extern |