summaryrefslogtreecommitdiff
path: root/job.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-04-14 16:31:18 -0400
committerPaul Smith <psmith@gnu.org>2013-04-14 16:31:18 -0400
commit4bf3c33f83e79951c3860297b6420e64032f04a7 (patch)
tree17a7162ec39c5c58a71d332d53142de6efc246c1 /job.h
parentcb64352c75f0da8979c9addd37b2b78bb97d5301 (diff)
downloadgunmake-4bf3c33f83e79951c3860297b6420e64032f04a7.tar.gz
Rename the "parallel-sync" option to "output-sync".
Diffstat (limited to 'job.h')
-rw-r--r--job.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/job.h b/job.h
index 8d32bd7..399c0b8 100644
--- a/job.h
+++ b/job.h
@@ -34,9 +34,9 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
# define CLOSE_ON_EXEC(_d) (void) fcntl ((_d), F_SETFD, FD_CLOEXEC)
#endif
-#ifdef POSIX /* PARALLEL_SYNC */
-#define PARALLEL_SYNC
-#endif /* POSIX */
+#ifdef POSIX
+# define OUTPUT_SYNC
+#endif
/* Structure describing a running or dead child process. */
@@ -64,10 +64,10 @@ struct child
unsigned int good_stdin:1; /* Nonzero if this child has a good stdin. */
unsigned int deleted:1; /* Nonzero if targets have been deleted. */
unsigned int dontcare:1; /* Saved dontcare flag. */
-#ifdef PARALLEL_SYNC
- int outfd; /* Optional file descriptor for saving stdout */
- int errfd; /* Optional file descriptor for saving stderr */
-#endif /* PARALLEL_SYNC */
+#ifdef OUTPUT_SYNC
+ int outfd; /* File descriptor for saving stdout */
+ int errfd; /* File descriptor for saving stderr */
+#endif
};
extern struct child *children;