]> granicus.if.org Git - graphviz/commitdiff
remove now unnecessary environ abstraction code
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 22 Sep 2020 02:34:58 +0000 (19:34 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 29 Sep 2020 00:24:56 +0000 (17:24 -0700)
lib/ast/pathpath.c

index 458beed5417e34a7d8021aea6d16ca56812c5503..f453f716157d76978c8106de8f547d3af1a3ee86 100644 (file)
 #include <compat_unistd.h>
 #endif
 
-#ifdef HAVE_CRT_EXTERNS_H
-#include <crt_externs.h>
-#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)