This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: fixincludes fix for DJGPP wchar.h
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: fixincludes fix for DJGPP wchar.h
- From: "Laurynas Biveinis" <lauras at softhome dot net>
- Date: Sun, 4 Mar 2001 13:27:27 +0200
<wchar.h> in DJGPP has a typo which prevents libstdc++ v3 from
compiling. It already has been fixed in DJGPP WIP sources, and
this patch fixes it in already released version.
OK to commit to head and branch?
2001-03-04 Laurynas Biveinis <lauras@softhome.net>
* fixinc/inclhack.def (djgpp_wchar_h): New test.
* fixinc/fixincl.x: Regenerated.
Index: inclhack.def
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fixinc/inclhack.def,v
retrieving revision 1.103
diff -u -r1.103 inclhack.def
--- inclhack.def 2001/02/21 20:00:32 1.103
+++ inclhack.def 2001/03/04 11:23:20
@@ -1000,6 +1000,19 @@
/*
+ * Fix typo in <wchar.h> on DJGPP 2.03.
+ */
+fix = {
+ hackname = djgpp_wchar_h;
+ file = wchar.h;
+ select = "__DJ_wint_t";
+ bypass = "sys/djtypes.h";
+ c_fix = format;
+ c_fix_arg = "%0\n#include <sys/djtypes.h>";
+ c_fix_arg = "#include <stddef.h>";
+};
+
+/*
* Fix these Sun OS files to avoid an invalid identifier in an #ifdef.
*/
fix = {