PERFORCE change 28817 for review
Robert Drehmel
robert at FreeBSD.org
Sat Apr 12 08:35:14 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28817
Change 28817 by robert at robert_spes on 2003/04/12 08:35:07
Add type definitions for TARGET_ARCH __mips__.
Affected files ...
.. //depot/projects/mips/lib/libstand/zalloc_defs.h#2 edit
Differences ...
==== //depot/projects/mips/lib/libstand/zalloc_defs.h#2 (text+ko) ====
@@ -48,21 +48,25 @@
typedef int saddr_t; /* signed int same size as pointer */
#endif
#ifdef __alpha__
-typedef unsigned long iaddr_t; /* unsigned int same size as pointer */
-typedef long saddr_t; /* signed int 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 __powerpc__
typedef unsigned int iaddr_t; /* unsigned int same size as pointer */
typedef int saddr_t; /* signed int same size as pointer */
#endif
#ifdef __ia64__
-typedef unsigned long iaddr_t; /* unsigned int same size as pointer */
-typedef long saddr_t; /* signed int 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 __sparc64__
typedef unsigned long iaddr_t; /* unsigned long same size as pointer */
typedef long saddr_t; /* signed long same size as pointer */
#endif
+#ifdef __mips__
+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"
More information about the p4-projects
mailing list