Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Include <sys/common_int_types.h> if __UINTPTR_TYPE_...
details: https://anonhg.NetBSD.org/src/rev/e09e68c20829
branches: trunk
changeset: 331545:e09e68c20829
user: matt <matt%NetBSD.org@localhost>
date: Wed Aug 13 22:56:56 2014 +0000
description:
Include <sys/common_int_types.h> if __UINTPTR_TYPE__ is defined.
diffstat:
sys/arch/alpha/include/int_types.h | 7 ++++++-
sys/arch/ia64/include/int_types.h | 7 ++++++-
sys/arch/m68k/include/int_types.h | 7 ++++++-
sys/arch/mips/include/int_types.h | 7 ++++++-
sys/arch/powerpc/include/int_types.h | 7 ++++++-
sys/arch/sh3/include/int_types.h | 7 ++++++-
sys/arch/sparc/include/int_types.h | 7 ++++++-
sys/arch/vax/include/int_types.h | 7 ++++++-
8 files changed, 48 insertions(+), 8 deletions(-)
diffs (208 lines):
diff -r 7939914550b6 -r e09e68c20829 sys/arch/alpha/include/int_types.h
--- a/sys/arch/alpha/include/int_types.h Wed Aug 13 22:51:58 2014 +0000
+++ b/sys/arch/alpha/include/int_types.h Wed Aug 13 22:56:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_types.h,v 1.9 2005/12/24 20:06:46 perry Exp $ */
+/* $NetBSD: int_types.h,v 1.10 2014/08/13 22:56:56 matt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,6 +34,9 @@
#ifndef _ALPHA_INT_TYPES_H_
#define _ALPHA_INT_TYPES_H_
+#ifdef __UINTPTR_TYPE__
+#include <sys/common_int_types.h>
+#else
#include <sys/cdefs.h>
/*
@@ -63,4 +66,6 @@
typedef long int __intptr_t;
typedef unsigned long int __uintptr_t;
+#endif /* !__UINTPTR_TYPE__ */
+
#endif /* !_ALPHA_INT_TYPES_H_ */
diff -r 7939914550b6 -r e09e68c20829 sys/arch/ia64/include/int_types.h
--- a/sys/arch/ia64/include/int_types.h Wed Aug 13 22:51:58 2014 +0000
+++ b/sys/arch/ia64/include/int_types.h Wed Aug 13 22:56:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_types.h,v 1.1 2006/04/07 14:21:18 cherry Exp $ */
+/* $NetBSD: int_types.h,v 1.2 2014/08/13 22:56:56 matt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -34,6 +34,9 @@
#ifndef _IA64_INT_TYPES_H_
#define _IA64_INT_TYPES_H_
+#ifdef __UINTPTR_TYPE__
+#include <sys/common_int_types.h>
+#else
/*
* 7.18.1 Integer types
*/
@@ -71,4 +74,6 @@
typedef unsigned int __uintptr_t;
#endif
+#endif /* !__UINTPTR_TYPE__ */
+
#endif /* !_IA64_INT_TYPES_H_ */
diff -r 7939914550b6 -r e09e68c20829 sys/arch/m68k/include/int_types.h
--- a/sys/arch/m68k/include/int_types.h Wed Aug 13 22:51:58 2014 +0000
+++ b/sys/arch/m68k/include/int_types.h Wed Aug 13 22:56:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_types.h,v 1.9 2005/12/24 20:07:15 perry Exp $ */
+/* $NetBSD: int_types.h,v 1.10 2014/08/13 22:56:56 matt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -34,6 +34,9 @@
#ifndef _M68K_INT_TYPES_H_
#define _M68K_INT_TYPES_H_
+#ifdef __UINTPTR_TYPE__
+#include <sys/common_int_types.h>
+#else
#include <sys/cdefs.h>
/*
@@ -65,4 +68,6 @@
typedef int __intptr_t;
typedef unsigned int __uintptr_t;
+#endif /* !__UINTPTR_TYPE__ */
+
#endif /* !_M68K_INT_TYPES_H_ */
diff -r 7939914550b6 -r e09e68c20829 sys/arch/mips/include/int_types.h
--- a/sys/arch/mips/include/int_types.h Wed Aug 13 22:51:58 2014 +0000
+++ b/sys/arch/mips/include/int_types.h Wed Aug 13 22:56:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_types.h,v 1.11 2009/12/14 00:46:04 matt Exp $ */
+/* $NetBSD: int_types.h,v 1.12 2014/08/13 22:56:56 matt Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,6 +37,9 @@
#ifndef _MIPS_INT_TYPES_H_
#define _MIPS_INT_TYPES_H_
+#ifdef __UINTPTR_TYPE__
+#include <sys/common_int_types.h>
+#else
#include <sys/cdefs.h>
/*
@@ -76,4 +79,6 @@
typedef unsigned int __uintptr_t;
#endif
+#endif /* !__UINTPTR_TYPE__ */
+
#endif /* !_MIPS_INT_TYPES_H_ */
diff -r 7939914550b6 -r e09e68c20829 sys/arch/powerpc/include/int_types.h
--- a/sys/arch/powerpc/include/int_types.h Wed Aug 13 22:51:58 2014 +0000
+++ b/sys/arch/powerpc/include/int_types.h Wed Aug 13 22:56:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_types.h,v 1.10 2005/12/24 20:07:28 perry Exp $ */
+/* $NetBSD: int_types.h,v 1.11 2014/08/13 22:56:56 matt Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,6 +37,9 @@
#ifndef _POWERPC_INT_TYPES_H_
#define _POWERPC_INT_TYPES_H_
+#ifdef __UINTPTR_TYPE__
+#include <sys/common_int_types.h>
+#else
#include <sys/cdefs.h>
/*
@@ -76,4 +79,6 @@
typedef unsigned int __uintptr_t;
#endif
+#endif /* !__UINTPTR_TYPE__ */
+
#endif /* !_POWERPC_INT_TYPES_H_ */
diff -r 7939914550b6 -r e09e68c20829 sys/arch/sh3/include/int_types.h
--- a/sys/arch/sh3/include/int_types.h Wed Aug 13 22:51:58 2014 +0000
+++ b/sys/arch/sh3/include/int_types.h Wed Aug 13 22:56:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_types.h,v 1.8 2005/12/24 20:07:32 perry Exp $ */
+/* $NetBSD: int_types.h,v 1.9 2014/08/13 22:56:56 matt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -34,6 +34,9 @@
#ifndef _SH3_INT_TYPES_H_
#define _SH3_INT_TYPES_H_
+#ifdef __UINTPTR_TYPE__
+#include <sys/common_int_types.h>
+#else
#include <sys/cdefs.h>
/*
@@ -65,4 +68,6 @@
typedef int __intptr_t;
typedef unsigned int __uintptr_t;
+#endif /* !__UINTPTR_TYPE__ */
+
#endif /* !_SH3_INT_TYPES_H_ */
diff -r 7939914550b6 -r e09e68c20829 sys/arch/sparc/include/int_types.h
--- a/sys/arch/sparc/include/int_types.h Wed Aug 13 22:51:58 2014 +0000
+++ b/sys/arch/sparc/include/int_types.h Wed Aug 13 22:56:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_types.h,v 1.10 2005/12/24 20:07:32 perry Exp $ */
+/* $NetBSD: int_types.h,v 1.11 2014/08/13 22:56:56 matt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -43,6 +43,9 @@
#ifndef _SPARC_INT_TYPES_H_
#define _SPARC_INT_TYPES_H_
+#ifdef __UINTPTR_TYPE__
+#include <sys/common_int_types.h>
+#else
#include <sys/cdefs.h>
/*
@@ -82,4 +85,6 @@
typedef long int __intptr_t;
typedef unsigned long int __uintptr_t;
+#endif /* !__UINTPTR_TYPE__ */
+
#endif /* !_SPARC_INT_TYPES_H_ */
diff -r 7939914550b6 -r e09e68c20829 sys/arch/vax/include/int_types.h
--- a/sys/arch/vax/include/int_types.h Wed Aug 13 22:51:58 2014 +0000
+++ b/sys/arch/vax/include/int_types.h Wed Aug 13 22:56:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: int_types.h,v 1.11 2008/08/29 18:25:01 matt Exp $ */
+/* $NetBSD: int_types.h,v 1.12 2014/08/13 22:56:56 matt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -34,6 +34,9 @@
#ifndef _VAX_INT_TYPES_H_
#define _VAX_INT_TYPES_H_
+#ifdef __UINTPTR_TYPE__
+#include <sys/common_int_types.h>
+#else
#include <sys/cdefs.h>
/*
@@ -65,4 +68,6 @@
typedef long int __intptr_t;
typedef unsigned long int __uintptr_t;
+#endif /* !__UINTPTR_TYPE__ */
+
#endif /* !_VAX_INT_TYPES_H_ */
Home |
Main Index |
Thread Index |
Old Index