Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77012 - trunk/tools/build/v2/engine
From: kbelco_at_[hidden]
Date: 2012-02-13 21:17:53


Author: noel_belcourt
Date: 2012-02-13 21:17:51 EST (Mon, 13 Feb 2012)
New Revision: 77012
URL: http://svn.boost.org/trac/boost/changeset/77012

Log:
Protect unix specific structures.

Text files modified:
   trunk/tools/build/v2/engine/jam.h | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/tools/build/v2/engine/jam.h
==============================================================================
--- trunk/tools/build/v2/engine/jam.h (original)
+++ trunk/tools/build/v2/engine/jam.h 2012-02-13 21:17:51 EST (Mon, 13 Feb 2012)
@@ -461,6 +461,8 @@
 
 extern struct globs globs;
 
+#if defined(unix) || defined(__unix)
+
 struct terminated_child
 {
     pid_t pid;
@@ -469,6 +471,7 @@
 
 extern struct terminated_child terminated_children[MAXJOBS];
 
+#endif
 
 #define DEBUG_MAKE ( globs.debug[ 1 ] ) /* show actions when executed */
 #define DEBUG_MAKEQ ( globs.debug[ 2 ] ) /* show even quiet actions */


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk