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 /winsup/cygwin/lib
parent0763ee9d8324d1a0c1a26057e90719f21a13e826 (diff)
* _cygwin_crt0_common.cc: Undef 'environ' or suffer compiler error.
Diffstat (limited to 'winsup/cygwin/lib')
-rw-r--r--winsup/cygwin/lib/_cygwin_crt0_common.cc2
1 files changed, 2 insertions, 0 deletions
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;