summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-05-14 13:32:13 +0000
committercognet <cognet@FreeBSD.org>2004-05-14 13:32:13 +0000
commitf07113c7ad10621710263caa95da298f8b2a7c18 (patch)
treebff947a4cc3b6089bad71dcc1b7890124f97746a /lib/libstand
parent797424d85b3c4b00f9953ddaad93922cf5e3c2da (diff)
downloadFreeBSD-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.h5
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
OpenPOWER on IntegriCloud