* _cygwin_crt0_common.cc: Undef 'environ' or suffer compiler error.

This commit is contained in:
Christopher Faylor 2000-07-17 00:24:56 +00:00
parent 0763ee9d83
commit c609f9dcec
2 changed files with 6 additions and 0 deletions

View File

@ -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> Sun Jul 16 16:03:00 2000 Christopher Faylor <cgf@cygnus.com>
* environ.cc: Use new definition of "environ" throughout. * environ.cc: Use new definition of "environ" throughout.

View File

@ -13,6 +13,8 @@ details. */
#include <reent.h> #include <reent.h>
#include <stdlib.h> #include <stdlib.h>
#undef environ
extern "C" extern "C"
{ {
char **environ; char **environ;