Module Name:    src
Committed By:   bouyer
Date:           Fri May 20 19:18:44 UTC 2011

Modified Files:
        src/include [netbsd-5-1]: inttypes.h stddef.h stdlib.h wchar.h

Log Message:
Pull up following revision(s) (requested by joerg in ticket #1611):
        include/inttypes.h: revision 1.7
        include/stddef.h: revision 1.16
        include/wchar.h: revision 1.28
        include/stdlib.h: revision 1.90
Don't define wchar_t for c++; it is native in the language. From Alexander
Nasonov


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.14.1 src/include/inttypes.h
cvs rdiff -u -r1.15 -r1.15.36.1 src/include/stddef.h
cvs rdiff -u -r1.85 -r1.85.12.1 src/include/stdlib.h
cvs rdiff -u -r1.27 -r1.27.18.1 src/include/wchar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/inttypes.h
diff -u src/include/inttypes.h:1.6 src/include/inttypes.h:1.6.14.1
--- src/include/inttypes.h:1.6	Mon Aug  4 21:19:45 2008
+++ src/include/inttypes.h	Fri May 20 19:18:43 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: inttypes.h,v 1.6 2008/08/04 21:19:45 matt Exp $	*/
+/*	$NetBSD: inttypes.h,v 1.6.14.1 2011/05/20 19:18:43 bouyer Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
 #include <sys/inttypes.h>
 #include <machine/ansi.h>
 
-#ifdef	_BSD_WCHAR_T_
+#if defined(_BSD_WCHAR_T_) && !defined(__cplusplus)
 typedef	_BSD_WCHAR_T_	wchar_t;
 #undef	_BSD_WCHAR_T_
 #endif

Index: src/include/stddef.h
diff -u src/include/stddef.h:1.15 src/include/stddef.h:1.15.36.1
--- src/include/stddef.h:1.15	Mon Aug 21 16:58:29 2006
+++ src/include/stddef.h	Fri May 20 19:18:44 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: stddef.h,v 1.15 2006/08/21 16:58:29 thorpej Exp $	*/
+/*	$NetBSD: stddef.h,v 1.15.36.1 2011/05/20 19:18:44 bouyer Exp $	*/
 
 /*-
  * Copyright (c) 1990, 1993
@@ -45,7 +45,7 @@
 #undef	_BSD_SIZE_T_
 #endif
 
-#ifdef	_BSD_WCHAR_T_
+#if defined(_BSD_WCHAR_T_) && !defined(__cplusplus)
 typedef	_BSD_WCHAR_T_	wchar_t;
 #undef	_BSD_WCHAR_T_
 #endif

Index: src/include/stdlib.h
diff -u src/include/stdlib.h:1.85 src/include/stdlib.h:1.85.12.1
--- src/include/stdlib.h:1.85	Sat Jun 21 00:58:00 2008
+++ src/include/stdlib.h	Fri May 20 19:18:44 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: stdlib.h,v 1.85 2008/06/21 00:58:00 gmcgarry Exp $	*/
+/*	$NetBSD: stdlib.h,v 1.85.12.1 2011/05/20 19:18:44 bouyer Exp $	*/
 
 /*-
  * Copyright (c) 1990, 1993
@@ -48,7 +48,7 @@
 #undef	_BSD_SIZE_T_
 #endif
 
-#ifdef	_BSD_WCHAR_T_
+#if defined(_BSD_WCHAR_T_) && !defined(__cplusplus)
 typedef	_BSD_WCHAR_T_	wchar_t;
 #undef	_BSD_WCHAR_T_
 #endif

Index: src/include/wchar.h
diff -u src/include/wchar.h:1.27 src/include/wchar.h:1.27.18.1
--- src/include/wchar.h:1.27	Mon Apr 28 20:22:54 2008
+++ src/include/wchar.h	Fri May 20 19:18:44 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: wchar.h,v 1.27 2008/04/28 20:22:54 martin Exp $	*/
+/*	$NetBSD: wchar.h,v 1.27.18.1 2011/05/20 19:18:44 bouyer Exp $	*/
 
 /*-
  * Copyright (c)1999 Citrus Project,
@@ -66,7 +66,7 @@
 
 #include <stdio.h> /* for FILE* */
 
-#ifdef	_BSD_WCHAR_T_
+#if defined(_BSD_WCHAR_T_) && !defined(__cplusplus)
 typedef	_BSD_WCHAR_T_	wchar_t;
 #undef	_BSD_WCHAR_T_
 #endif

Reply via email to