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_mwgwtypes.h> if __UINT_FAST...



details:   https://anonhg.NetBSD.org/src/rev/d72a369c5dc9
branches:  trunk
changeset: 801683:d72a369c5dc9
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Aug 13 22:25:39 2014 +0000

description:
include <sys/common_int_mwgwtypes.h> if __UINT_FAST64_TYPE__ is defined.

diffstat:

 sys/arch/alpha/include/int_mwgwtypes.h   |  7 ++++++-
 sys/arch/ia64/include/int_mwgwtypes.h    |  7 ++++++-
 sys/arch/m68k/include/int_mwgwtypes.h    |  8 +++++++-
 sys/arch/mips/include/int_mwgwtypes.h    |  7 ++++++-
 sys/arch/powerpc/include/int_mwgwtypes.h |  7 ++++++-
 sys/arch/sh3/include/int_mwgwtypes.h     |  7 ++++++-
 sys/arch/sparc/include/int_mwgwtypes.h   |  7 ++++++-
 sys/arch/vax/include/int_mwgwtypes.h     |  7 ++++++-
 8 files changed, 49 insertions(+), 8 deletions(-)

diffs (209 lines):

diff -r 99b451bb9f4e -r d72a369c5dc9 sys/arch/alpha/include/int_mwgwtypes.h
--- a/sys/arch/alpha/include/int_mwgwtypes.h    Wed Aug 13 22:16:24 2014 +0000
+++ b/sys/arch/alpha/include/int_mwgwtypes.h    Wed Aug 13 22:25:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_mwgwtypes.h,v 1.5 2008/04/28 20:23:11 martin Exp $ */
+/*     $NetBSD: int_mwgwtypes.h,v 1.6 2014/08/13 22:25:39 matt Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _ALPHA_INT_MWGWTYPES_H_
 #define _ALPHA_INT_MWGWTYPES_H_
 
+#ifdef __UINT_FAST64_TYPE__
+#include <sys/common_int_mwgwtypes.h>
+#else
 /*
  * 7.18.1 Integer types
  */
@@ -74,4 +77,6 @@
 typedef        long int                      intmax_t;
 typedef        unsigned long int            uintmax_t;
 
+#endif /* !__UINT_FAST64_TYPE__ */
+
 #endif /* !_ALPHA_INT_MWGWTYPES_H_ */
diff -r 99b451bb9f4e -r d72a369c5dc9 sys/arch/ia64/include/int_mwgwtypes.h
--- a/sys/arch/ia64/include/int_mwgwtypes.h     Wed Aug 13 22:16:24 2014 +0000
+++ b/sys/arch/ia64/include/int_mwgwtypes.h     Wed Aug 13 22:25:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_mwgwtypes.h,v 1.2 2008/04/28 20:23:25 martin Exp $ */
+/*     $NetBSD: int_mwgwtypes.h,v 1.3 2014/08/13 22:25:39 matt Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _IA64_INT_MWGWTYPES_H_
 #define _IA64_INT_MWGWTYPES_H_
 
+#ifdef __UINT_FAST64_TYPE__
+#include <sys/common_int_mwgwtypes.h>
+#else
 /*
  * 7.18.1 Integer types
  */
@@ -74,4 +77,6 @@
 typedef        long int                      intmax_t;
 typedef        unsigned long int            uintmax_t;
 
+#endif /* !__UINT_FAST64_TYPE__ */
+
 #endif /* !_IA64_INT_MWGWTYPES_H_ */
diff -r 99b451bb9f4e -r d72a369c5dc9 sys/arch/m68k/include/int_mwgwtypes.h
--- a/sys/arch/m68k/include/int_mwgwtypes.h     Wed Aug 13 22:16:24 2014 +0000
+++ b/sys/arch/m68k/include/int_mwgwtypes.h     Wed Aug 13 22:25:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_mwgwtypes.h,v 1.4 2008/04/28 20:23:26 martin Exp $ */
+/*     $NetBSD: int_mwgwtypes.h,v 1.5 2014/08/13 22:25:39 matt Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _M68K_INT_MWGWTYPES_H_
 #define _M68K_INT_MWGWTYPES_H_
 
+#ifdef __UINT_FAST64_TYPE__
+#include <sys/common_int_mwgwtypes.h>
+#else
 /*
  * 7.18.1 Integer types
  */
@@ -84,4 +87,7 @@
 typedef        unsigned long long int       uintmax_t;
 #endif
 
+#ifdef __UINT_FAST64_TYPE__
+#include <sys/common_int_mwgwtypes.h>
+#else
 #endif /* !_M68K_INT_MWGWTYPES_H_ */
diff -r 99b451bb9f4e -r d72a369c5dc9 sys/arch/mips/include/int_mwgwtypes.h
--- a/sys/arch/mips/include/int_mwgwtypes.h     Wed Aug 13 22:16:24 2014 +0000
+++ b/sys/arch/mips/include/int_mwgwtypes.h     Wed Aug 13 22:25:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_mwgwtypes.h,v 1.5 2008/04/28 20:23:28 martin Exp $ */
+/*     $NetBSD: int_mwgwtypes.h,v 1.6 2014/08/13 22:25:39 matt Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _MIPS_INT_MWGWTYPES_H_
 #define _MIPS_INT_MWGWTYPES_H_
 
+#ifdef __UINT_FAST64_TYPE__
+#include <sys/common_int_mwgwtypes.h>
+#else
 /*
  * 7.18.1 Integer types
  */
@@ -92,4 +95,6 @@
 typedef        unsigned long long int       uintmax_t;
 #endif
 
+#endif /* !__UINT_FAST64_TYPE__ */
+
 #endif /* !_MIPS_INT_MWGWTYPES_H_ */
diff -r 99b451bb9f4e -r d72a369c5dc9 sys/arch/powerpc/include/int_mwgwtypes.h
--- a/sys/arch/powerpc/include/int_mwgwtypes.h  Wed Aug 13 22:16:24 2014 +0000
+++ b/sys/arch/powerpc/include/int_mwgwtypes.h  Wed Aug 13 22:25:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_mwgwtypes.h,v 1.5 2008/04/28 20:23:32 martin Exp $ */
+/*     $NetBSD: int_mwgwtypes.h,v 1.6 2014/08/13 22:25:39 matt Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _POWERPC_INT_MWGWTYPES_H_
 #define _POWERPC_INT_MWGWTYPES_H_
 
+#ifdef __UINT_FAST64_TYPE__
+#include <sys/common_int_mwgwtypes.h>
+#else
 /*
  * 7.18.1 Integer types
  */
@@ -92,4 +95,6 @@
 typedef        unsigned long long int       uintmax_t;
 #endif
 
+#endif /* !__UINT_FAST64_TYPE__ */
+
 #endif /* !_POWERPC_INT_MWGWTYPES_H_ */
diff -r 99b451bb9f4e -r d72a369c5dc9 sys/arch/sh3/include/int_mwgwtypes.h
--- a/sys/arch/sh3/include/int_mwgwtypes.h      Wed Aug 13 22:16:24 2014 +0000
+++ b/sys/arch/sh3/include/int_mwgwtypes.h      Wed Aug 13 22:25:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_mwgwtypes.h,v 1.5 2008/04/28 20:23:35 martin Exp $ */
+/*     $NetBSD: int_mwgwtypes.h,v 1.6 2014/08/13 22:25:39 matt Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _SH3_INT_MWGWTYPES_H_
 #define        _SH3_INT_MWGWTYPES_H_
 
+#ifdef __UINT_FAST64_TYPE__
+#include <sys/common_int_mwgwtypes.h>
+#else
 /*
  * 7.18.1 Integer types
  */
@@ -83,4 +86,6 @@
 typedef        unsigned long long int       uintmax_t;
 #endif
 
+#endif /* !__UINT_FAST64_TYPE__ */
+
 #endif /* !_SH3_INT_MWGWTYPES_H_ */
diff -r 99b451bb9f4e -r d72a369c5dc9 sys/arch/sparc/include/int_mwgwtypes.h
--- a/sys/arch/sparc/include/int_mwgwtypes.h    Wed Aug 13 22:16:24 2014 +0000
+++ b/sys/arch/sparc/include/int_mwgwtypes.h    Wed Aug 13 22:25:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_mwgwtypes.h,v 1.6 2008/04/28 20:23:36 martin Exp $ */
+/*     $NetBSD: int_mwgwtypes.h,v 1.7 2014/08/13 22:25:39 matt Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _SPARC_INT_MWGWTYPES_H_
 #define _SPARC_INT_MWGWTYPES_H_
 
+#ifdef __UINT_FAST64_TYPE__
+#include <sys/common_int_mwgwtypes.h>
+#else
 /*
  * 7.18.1 Integer types
  */
@@ -114,4 +117,6 @@
 #endif /* __arch64__ */
 #endif /* __COMPILER_INT64__ */
 
+#endif /* !__UINT_FAST64_TYPE__ */
+
 #endif /* !_SPARC_INT_MWGWTYPES_H_ */
diff -r 99b451bb9f4e -r d72a369c5dc9 sys/arch/vax/include/int_mwgwtypes.h
--- a/sys/arch/vax/include/int_mwgwtypes.h      Wed Aug 13 22:16:24 2014 +0000
+++ b/sys/arch/vax/include/int_mwgwtypes.h      Wed Aug 13 22:25:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_mwgwtypes.h,v 1.4 2008/04/28 20:23:39 martin Exp $ */
+/*     $NetBSD: int_mwgwtypes.h,v 1.5 2014/08/13 22:25:40 matt Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _VAX_INT_MWGWTYPES_H_
 #define _VAX_INT_MWGWTYPES_H_
 
+#ifdef __UINT_FAST64_TYPE__
+#include <sys/common_int_mwgwtypes.h>
+#else
 /*
  * 7.18.1 Integer types
  */
@@ -84,4 +87,6 @@
 typedef        unsigned long long int       uintmax_t;
 #endif
 
+#endif /* !__UINT_FAST64_TYPE__ */
+
 #endif /* !_VAX_INT_MWGWTYPES_H_ */



Home | Main Index | Thread Index | Old Index