diff options
author | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-13 06:52:25 +0000 |
---|---|---|
committer | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-13 06:52:25 +0000 |
commit | 37e6e5d2de9dda014e316e871e210f00202bb9f3 (patch) | |
tree | 5821dcf62e73f98b0e121810a1a6f35ef735cb8a /gcc/fixinc | |
parent | f079b855e44a6d98ba68168b653fc72649149765 (diff) | |
download | gcc-37e6e5d2de9dda014e316e871e210f00202bb9f3.tar.gz |
* fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
(for OpenBSD).
* fixinc/fixincl.x: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69284 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/fixincl.x | 6 | ||||
-rw-r--r-- | gcc/fixinc/inclhack.def | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index b1b07041e7f..f76d6e781fb 100644 --- a/gcc/fixinc/fixincl.x +++ b/gcc/fixinc/fixincl.x @@ -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[] = diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 76df445a691..ae0ddcb82fa 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -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"; |