Mail Archives: djgpp-workers/2004/12/29/17:16:58
Heloo.
This patch (pasted) seems to make check stop complaining about
environ. It didn't help to remove it, but adding a "_" did it. I don't
know why. Somebody care to explain?
Index: djgpp/tests/libclink/check.cc
===================================================================
RCS file: /cvs/djgpp/djgpp/tests/libclink/check.cc,v
retrieving revision 1.7
diff -p -u -r1.7 check.cc
--- djgpp/tests/libclink/check.cc 25 Oct 2003 12:16:55 -0000 1.7
+++ djgpp/tests/libclink/check.cc 29 Dec 2004 22:02:51 -0000
@@ -12,9 +12,9 @@
//-----------------------------------------------------------------------------
-char *predefs[] = { "main", "edata", "end", "etext", "environ",
+char *predefs[] = { "main", "edata", "end", "etext", "_environ",
"__udivdi3", "__umoddi3", "__divdi3",
"__moddi3", 0 };
Right,
MartinS
- Raw text -