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_const.h> if __INTMAX_C_SUFF...



details:   https://anonhg.NetBSD.org/src/rev/7939914550b6
branches:  trunk
changeset: 331544:7939914550b6
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Aug 13 22:51:58 2014 +0000

description:
Include <sys/common_int_const.h> if __INTMAX_C_SUFFIX__ is defined.

diffstat:

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

diffs (208 lines):

diff -r bc66726c229f -r 7939914550b6 sys/arch/alpha/include/int_const.h
--- a/sys/arch/alpha/include/int_const.h        Wed Aug 13 22:48:15 2014 +0000
+++ b/sys/arch/alpha/include/int_const.h        Wed Aug 13 22:51:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_const.h,v 1.3 2010/05/29 17:33:57 tnozaki Exp $    */
+/*     $NetBSD: int_const.h,v 1.4 2014/08/13 22:51:58 matt Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _ALPHA_INT_CONST_H_
 #define _ALPHA_INT_CONST_H_
 
+#ifdef __INTMAX_C_SUFFIX__
+#include <sys/common_int_const.h>
+#else
 /*
  * 7.18.4 Macros for integer constants
  */
@@ -53,4 +56,6 @@
 #define        INTMAX_C(c)     c ## L
 #define        UINTMAX_C(c)    c ## UL
 
+#endif /* !__INTMAX_C_SUFFIX__ */
+
 #endif /* !_ALPHA_INT_CONST_H_ */
diff -r bc66726c229f -r 7939914550b6 sys/arch/ia64/include/int_const.h
--- a/sys/arch/ia64/include/int_const.h Wed Aug 13 22:48:15 2014 +0000
+++ b/sys/arch/ia64/include/int_const.h Wed Aug 13 22:51:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_const.h,v 1.3 2010/05/29 17:33:57 tnozaki Exp $    */
+/*     $NetBSD: int_const.h,v 1.4 2014/08/13 22:51:58 matt Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _IA64_INT_CONST_H_
 #define _IA64_INT_CONST_H_
 
+#ifdef __INTMAX_C_SUFFIX__
+#include <sys/common_int_const.h>
+#else
 /* XXX: cherry: needs to be audited */
 /*
  * 7.18.4 Macros for integer constants
@@ -54,4 +57,6 @@
 #define        INTMAX_C(c)     c ## L
 #define        UINTMAX_C(c)    c ## UL
 
+#endif /* !__INTMAX_C_SUFFIX__ */
+
 #endif /* !_IA64_INT_CONST_H_ */
diff -r bc66726c229f -r 7939914550b6 sys/arch/m68k/include/int_const.h
--- a/sys/arch/m68k/include/int_const.h Wed Aug 13 22:48:15 2014 +0000
+++ b/sys/arch/m68k/include/int_const.h Wed Aug 13 22:51:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_const.h,v 1.3 2010/05/29 17:33:57 tnozaki Exp $    */
+/*     $NetBSD: int_const.h,v 1.4 2014/08/13 22:51:58 matt Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _M68K_INT_CONST_H_
 #define _M68K_INT_CONST_H_
 
+#ifdef __INTMAX_C_SUFFIX__
+#include <sys/common_int_const.h>
+#else
 /*
  * 7.18.4 Macros for integer constants
  */
@@ -53,4 +56,6 @@
 #define        INTMAX_C(c)     c ## LL
 #define        UINTMAX_C(c)    c ## ULL
 
+#endif /* !__INTMAX_C_SUFFIX__ */
+
 #endif /* !_M68K_INT_CONST_H_ */
diff -r bc66726c229f -r 7939914550b6 sys/arch/mips/include/int_const.h
--- a/sys/arch/mips/include/int_const.h Wed Aug 13 22:48:15 2014 +0000
+++ b/sys/arch/mips/include/int_const.h Wed Aug 13 22:51:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_const.h,v 1.4 2010/05/29 17:33:57 tnozaki Exp $    */
+/*     $NetBSD: int_const.h,v 1.5 2014/08/13 22:51:58 matt Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _MIPS_INT_CONST_H_
 #define _MIPS_INT_CONST_H_
 
+#ifdef __INTMAX_C_SUFFIX__
+#include <sys/common_int_const.h>
+#else
 /*
  * 7.18.4 Macros for integer constants
  */
@@ -66,4 +69,6 @@
 #define        UINTMAX_C(c)    c ## ULL
 #endif
 
+#endif /* !__INTMAX_C_SUFFIX__ */
+
 #endif /* !_MIPS_INT_CONST_H_ */
diff -r bc66726c229f -r 7939914550b6 sys/arch/powerpc/include/int_const.h
--- a/sys/arch/powerpc/include/int_const.h      Wed Aug 13 22:48:15 2014 +0000
+++ b/sys/arch/powerpc/include/int_const.h      Wed Aug 13 22:51:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_const.h,v 1.4 2010/05/29 17:33:58 tnozaki Exp $    */
+/*     $NetBSD: int_const.h,v 1.5 2014/08/13 22:51:59 matt Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _POWERPC_INT_CONST_H_
 #define _POWERPC_INT_CONST_H_
 
+#ifdef __INTMAX_C_SUFFIX__
+#include <sys/common_int_const.h>
+#else
 /*
  * 7.18.4 Macros for integer constants
  */
@@ -66,4 +69,6 @@
 #define        UINTMAX_C(c)    c ## ULL
 #endif
 
+#endif /* !__INTMAX_C_SUFFIX__ */
+
 #endif /* !_POWERPC_INT_CONST_H_ */
diff -r bc66726c229f -r 7939914550b6 sys/arch/sh3/include/int_const.h
--- a/sys/arch/sh3/include/int_const.h  Wed Aug 13 22:48:15 2014 +0000
+++ b/sys/arch/sh3/include/int_const.h  Wed Aug 13 22:51:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_const.h,v 1.4 2010/05/29 17:33:58 tnozaki Exp $    */
+/*     $NetBSD: int_const.h,v 1.5 2014/08/13 22:51:59 matt Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _SH3_INT_CONST_H_
 #define        _SH3_INT_CONST_H_
 
+#ifdef __INTMAX_C_SUFFIX__
+#include <sys/common_int_const.h>
+#else
 /*
  * 7.18.4 Macros for integer constants
  */
@@ -53,4 +56,6 @@
 #define        INTMAX_C(c)     c ## LL
 #define        UINTMAX_C(c)    c ## ULL
 
+#endif /* !__INTMAX_C_SUFFIX__ */
+
 #endif /* !_SH3_INT_CONST_H_ */
diff -r bc66726c229f -r 7939914550b6 sys/arch/sparc/include/int_const.h
--- a/sys/arch/sparc/include/int_const.h        Wed Aug 13 22:48:15 2014 +0000
+++ b/sys/arch/sparc/include/int_const.h        Wed Aug 13 22:51:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_const.h,v 1.3 2010/05/29 17:33:58 tnozaki Exp $    */
+/*     $NetBSD: int_const.h,v 1.4 2014/08/13 22:51:59 matt Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _SPARC_INT_CONST_H_
 #define _SPARC_INT_CONST_H_
 
+#ifdef __INTMAX_C_SUFFIX__
+#include <sys/common_int_const.h>
+#else
 /*
  * 7.18.4 Macros for integer constants
  */
@@ -66,4 +69,6 @@
 #define        UINTMAX_C(c)    c ## ULL
 #endif
 
+#endif /* !__INTMAX_C_SUFFIX__ */
+
 #endif /* !_SPARC_INT_CONST_H_ */
diff -r bc66726c229f -r 7939914550b6 sys/arch/vax/include/int_const.h
--- a/sys/arch/vax/include/int_const.h  Wed Aug 13 22:48:15 2014 +0000
+++ b/sys/arch/vax/include/int_const.h  Wed Aug 13 22:51:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_const.h,v 1.3 2010/05/29 17:45:15 tnozaki Exp $    */
+/*     $NetBSD: int_const.h,v 1.4 2014/08/13 22:51:59 matt Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,9 @@
 #ifndef _VAX_INT_CONST_H_
 #define _VAX_INT_CONST_H_
 
+#ifdef __INTMAX_C_SUFFIX__
+#include <sys/common_int_const.h>
+#else
 /*
  * 7.18.4 Macros for integer constants
  */
@@ -53,4 +56,6 @@
 #define        INTMAX_C(c)     c ## LL
 #define        UINTMAX_C(c)    c ## ULL
 
+#endif /* !__INTMAX_C_SUFFIX__ */
+
 #endif /* !_VAX_INT_CONST_H_ */



Home | Main Index | Thread Index | Old Index