From: Matthew Fernandez Date: Tue, 22 Sep 2020 02:34:58 +0000 (-0700) Subject: remove now unnecessary environ abstraction code X-Git-Tag: 2.46.0~20^2^2~62^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3af3980dff0b6a8ca134ea0620b4ffb484906707;p=graphviz remove now unnecessary environ abstraction code --- diff --git a/lib/ast/pathpath.c b/lib/ast/pathpath.c index 458beed54..f453f7161 100644 --- a/lib/ast/pathpath.c +++ b/lib/ast/pathpath.c @@ -33,19 +33,6 @@ #include #endif -#ifdef HAVE_CRT_EXTERNS_H -#include -#endif - -#ifdef _WIN32 -#define environ _environ -#else -#if defined(HAVE_CRT_EXTERNS_H) && defined(HAVE__NSGETENVIRON) -#define environ (*_NSGetEnviron()) -#else -extern char **environ; -#endif -#endif char **opt_info_argv; char *pathpath(char *path, const char *p, const char *a, int mode)