diff options
author | Evan Martin <martine@danga.com> | 2011-05-03 17:56:37 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-05-06 19:21:06 (GMT) |
commit | 661c5435e8bf108ded8ba795cc0a3aafda03b791 (patch) | |
tree | 17c379f358471db1861574f7e8a186bd49d0d770 /src/subprocess.h | |
parent | 27df776e25ccd445068f2ab0bf7bad2b1d2937b1 (diff) | |
download | Ninja-661c5435e8bf108ded8ba795cc0a3aafda03b791.zip Ninja-661c5435e8bf108ded8ba795cc0a3aafda03b791.tar.gz Ninja-661c5435e8bf108ded8ba795cc0a3aafda03b791.tar.bz2 |
more refactoring for windows
Diffstat (limited to 'src/subprocess.h')
-rw-r--r-- | src/subprocess.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/subprocess.h b/src/subprocess.h index 048bacb..934a220 100644 --- a/src/subprocess.h +++ b/src/subprocess.h @@ -36,9 +36,12 @@ struct Subprocess { const string& GetOutput() const; - struct Stream; - Stream* stream_; + private: + string buf_; + int fd_; pid_t pid_; + + friend struct SubprocessSet; }; /// SubprocessSet runs a poll() loop around a set of Subprocesses. |