about summary refs log tree commit diff
path: root/urt
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-01-10 01:50:25 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-01-10 01:50:25 +0000
commit3260e51d4464635960e2877d0e049a0d9f206f78 (patch)
tree101fcd754e0fd0dfd559877203316713e495aec8 /urt
parent92e6b34df493797b2a2398a11fc624edd5e3fe85 (diff)
downloadnetpbm-mirror-3260e51d4464635960e2877d0e049a0d9f206f78.tar.gz
netpbm-mirror-3260e51d4464635960e2877d0e049a0d9f206f78.tar.xz
netpbm-mirror-3260e51d4464635960e2877d0e049a0d9f206f78.zip
fix undefined MAX_CHILDREN on Windows
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@554 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'urt')
-rw-r--r--urt/rle_open_f.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/urt/rle_open_f.c b/urt/rle_open_f.c
index 4704de96..07dbea01 100644
--- a/urt/rle_open_f.c
+++ b/urt/rle_open_f.c
@@ -21,15 +21,18 @@
 
 
 
+#define MAX_CHILDREN 100
+    /* Maximum number of children we track; any more than this remain
+       zombies.
+    */
+
+
 #ifndef NO_OPEN_PIPES
 /* Need to have a SIGCHLD signal catcher. */
 #include <signal.h>
 #include <sys/wait.h>
 #include <errno.h>
 
-/* Count outstanding children.  Assume no more than 100 possible. */
-#define MAX_CHILDREN 100
-
 
 
 static FILE *