diff options
Diffstat (limited to 'lib/System/Unix/Program.inc')
-rw-r--r-- | lib/System/Unix/Program.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/System/Unix/Program.inc b/lib/System/Unix/Program.inc index 476e90b..2f3616e 100644 --- a/lib/System/Unix/Program.inc +++ b/lib/System/Unix/Program.inc @@ -34,8 +34,6 @@ #include <spawn.h> #endif -extern char **environ; - namespace llvm { using namespace sys; @@ -202,7 +200,6 @@ Program::Execute(const Path &path, const char **args, const char **envp, } pid_t PID; - if (!envp) envp = (const char**)environ; int Err = posix_spawn(&PID, path.c_str(), &FileActions, /*attrp*/0, (char**)args, (char**)envp); |