inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass (for OpenBSD).

* fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
	(for OpenBSD).
	* fixinc/fixincl.x: Rebuild.

From-SVN: r69284
This commit is contained in:
Nathanael Nerode 2003-07-13 06:52:25 +00:00
parent 6f3ca28152
commit 4146d8d0c4
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
* fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
(for OpenBSD).
* fixinc/fixincl.x: Rebuild.
2003-07-12 Zack Weinberg <zack@codesourcery.com>
* configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for

View File

@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed Saturday July 12, 2003 at 03:37:51 PM EDT
* It has been AutoGen-ed Sunday July 13, 2003 at 02:48:14 AM EDT
* From the definitions inclhack.def
* and the template file fixincl
*/
/* DO NOT CVS-MERGE THIS FILE, EITHER Sat Jul 12 15:37:51 EDT 2003
/* DO NOT CVS-MERGE THIS FILE, EITHER Sun Jul 13 02:48:14 EDT 2003
*
* You must regenerate it. Use the ./genfixes script.
*
@ -1007,7 +1007,7 @@ tSCC zAvoid_Wchar_T_TypeSelect0[] =
* content bypass pattern - skip fix if pattern found
*/
tSCC zAvoid_Wchar_T_TypeBypass0[] =
"we must use the C\\+\\+ compiler's type";
"__cplusplus";
tSCC zAvoid_Wchar_T_TypeBypass1[] =
"_LINUX_NLS_H";
tSCC zAvoid_Wchar_T_TypeBypass2[] =

View File

@ -644,7 +644,7 @@ fix = {
hackname = avoid_wchar_t_type;
select = "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
bypass = "we must use the C\\+\\+ compiler's type";
bypass = "__cplusplus";
bypass = "_LINUX_NLS_H";
bypass = "XFree86: xc/lib/X11/Xlib\\.h";