From: erg Date: Mon, 25 Feb 2008 22:31:47 +0000 (+0000) Subject: Back out revision 1.3; raw windows does not need a declaration for X-Git-Tag: LAST_LIBGRAPH~32^2~4707 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7524ad4b1e2c9c164865835a4b4517bfc2abdfb0;p=graphviz Back out revision 1.3; raw windows does not need a declaration for environ. The corresponding external variable _environ is declared in stdlib.h, included by ast.h. --- diff --git a/lib/ast/pathpath.c b/lib/ast/pathpath.c index a177c68f1..8a3e9331f 100644 --- a/lib/ast/pathpath.c +++ b/lib/ast/pathpath.c @@ -39,8 +39,9 @@ /* #include */ #ifdef WIN32 #define environ _environ -#endif +#else extern char **environ; +#endif char **opt_info_argv; char *pathpath(register char *path, const char *p, const char *a, int mode)