]> granicus.if.org Git - graphviz/commitdiff
Back out revision 1.3; raw windows does not need a declaration for
authorerg <devnull@localhost>
Mon, 25 Feb 2008 22:31:47 +0000 (22:31 +0000)
committererg <devnull@localhost>
Mon, 25 Feb 2008 22:31:47 +0000 (22:31 +0000)
environ. The corresponding external variable _environ is declared in stdlib.h,
included by ast.h.

lib/ast/pathpath.c

index a177c68f1aaaa059c43c19cfd5ad7d474d635ec6..8a3e9331fbdcd3e844fae0114376515270578ffd 100644 (file)
@@ -39,8 +39,9 @@
 /* #include <option.h> */
 #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)