summaryrefslogtreecommitdiff
path: root/dmake
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-05 17:27:48 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-05 17:27:48 +0000
commit3be4750adc7388ec4a340d74f40810b8b3f1a9ce (patch)
tree35b2b872e75ea10605cad904194775f77f2a5a88 /dmake
parent4583b158cd8e6b0d874a5d8220f2e0eecf90108d (diff)
INTEGRATION: CWS dmake412_DEV300 (1.11.2); FILE MERGED
2007/11/12 00:12:02 vq 1.11.2.2: #i83540# Make dmake buildable with .NET 2003 again. 2007/11/11 23:05:48 vq 1.11.2.1: #i83540# Enable parallel builds with native W32 dmake. (First MinGW only.)
Diffstat (limited to 'dmake')
-rw-r--r--dmake/dag.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/dmake/dag.c b/dmake/dag.c
index 41a52e5a0273..ab5f7d9400c7 100644
--- a/dmake/dag.c
+++ b/dmake/dag.c
@@ -1,6 +1,6 @@
/* $RCSfile: dag.c,v $
--- $Revision: 1.11 $
--- last change: $Author: ihi $ $Date: 2007-10-15 15:38:09 $
+-- $Revision: 1.12 $
+-- last change: $Author: kz $ $Date: 2008-03-05 18:27:48 $
--
-- SYNOPSIS
-- Routines to construct the internal dag.
@@ -87,6 +87,12 @@ HASHPTR hp;
if( tvalue < 1 )
Fatal( "Process limit value must be > 1" );
+#if defined(USE_CREATEPROCESS)
+ if( Max_proclmt > MAXIMUM_WAIT_OBJECTS )
+ Fatal( "Specified maximum # of processes (MAXPROCESSLIMIT)"
+ " exceeds OS limit of [%d].", MAXIMUM_WAIT_OBJECTS );
+#endif
+
if( Max_proc > Max_proclmt )
Fatal( "Specified # of processes exceeds limit of [%d]",
Max_proclmt );