summaryrefslogtreecommitdiffstats
path: root/src/subprocess-posix.cc
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2013-07-01 20:05:30 (GMT)
committerDavid Hill <dhill@conformal.com>2013-07-01 20:05:30 (GMT)
commitb1f96969b7745e936796edf0b4a9b8c2312589e2 (patch)
treebf5a09c96b8946ce00f054b1163dd7354f7d22c1 /src/subprocess-posix.cc
parenteb398301f6a1272c5675835c6ef4f6eecf90433d (diff)
downloadNinja-b1f96969b7745e936796edf0b4a9b8c2312589e2.zip
Ninja-b1f96969b7745e936796edf0b4a9b8c2312589e2.tar.gz
Ninja-b1f96969b7745e936796edf0b4a9b8c2312589e2.tar.bz2
use !defined(NOT_PPOLL)
Diffstat (limited to 'src/subprocess-posix.cc')
-rw-r--r--src/subprocess-posix.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subprocess-posix.cc b/src/subprocess-posix.cc
index cd22aa9..a9af756 100644
--- a/src/subprocess-posix.cc
+++ b/src/subprocess-posix.cc
@@ -224,7 +224,7 @@ bool SubprocessSet::DoWork() {
return interrupted_;
}
-#else // linux || __OpenBSD__ || __Bitrig__
+#else // !defined(USE_PPOLL)
bool SubprocessSet::DoWork() {
fd_set set;
int nfds = 0;
@@ -266,7 +266,7 @@ bool SubprocessSet::DoWork() {
return interrupted_;
}
-#endif // linux || __OpenBSD__ || __Bitrig__
+#endif // !defined(USE_PPOLL)
Subprocess* SubprocessSet::NextFinished() {
if (finished_.empty())