summaryrefslogtreecommitdiffstats
path: root/src/subprocess.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-05-03 17:56:37 (GMT)
committerEvan Martin <martine@danga.com>2011-05-06 19:21:06 (GMT)
commit661c5435e8bf108ded8ba795cc0a3aafda03b791 (patch)
tree17c379f358471db1861574f7e8a186bd49d0d770 /src/subprocess.h
parent27df776e25ccd445068f2ab0bf7bad2b1d2937b1 (diff)
downloadNinja-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.h7
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.