Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-07-17 04:24:56 +0400
committerChristopher Faylor <me@cgf.cx>2000-07-17 04:24:56 +0400
commitc609f9dcec38474b392b672cfbb1291dbc1a60e1 (patch)
treeef224a9a2c8f16809479148961a349c29527e86d
parent0763ee9d8324d1a0c1a26057e90719f21a13e826 (diff)
* _cygwin_crt0_common.cc: Undef 'environ' or suffer compiler error.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/lib/_cygwin_crt0_common.cc2
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 3a81a51ac..976a685e5 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jul 16 20:23:21 2000 Christopher Faylor <cgf@cygnus.com>
+
+ * _cygwin_crt0_common.cc: Undef 'environ' or suffer compiler error.
+
Sun Jul 16 16:03:00 2000 Christopher Faylor <cgf@cygnus.com>
* environ.cc: Use new definition of "environ" throughout.
diff --git a/winsup/cygwin/lib/_cygwin_crt0_common.cc b/winsup/cygwin/lib/_cygwin_crt0_common.cc
index 4ca6dd74e..9c74e623f 100644
--- a/winsup/cygwin/lib/_cygwin_crt0_common.cc
+++ b/winsup/cygwin/lib/_cygwin_crt0_common.cc
@@ -13,6 +13,8 @@ details. */
#include <reent.h>
#include <stdlib.h>
+#undef environ
+
extern "C"
{
char **environ;