Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/include/wchar.h,v retrieving revision 1.27.10.2 retrieving revision 1.28 diff -u -p -r1.27.10.2 -r1.28 --- src/include/wchar.h 2008/04/28 20:22:55 1.27.10.2 +++ src/include/wchar.h 2009/11/15 22:21:03 1.28 @@ -1,4 +1,4 @@ -/* $NetBSD: wchar.h,v 1.27.10.2 2008/04/28 20:22:55 martin Exp $ */ +/* $NetBSD: wchar.h,v 1.28 2009/11/15 22:21:03 christos Exp $ */ /*- * Copyright (c)1999 Citrus Project, @@ -66,7 +66,7 @@ #include /* for FILE* */ -#ifdef _BSD_WCHAR_T_ +#if defined(_BSD_WCHAR_T_) && !defined(__cplusplus) typedef _BSD_WCHAR_T_ wchar_t; #undef _BSD_WCHAR_T_ #endif