From 3260e51d4464635960e2877d0e049a0d9f206f78 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 10 Jan 2008 01:50:25 +0000 Subject: fix undefined MAX_CHILDREN on Windows git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@554 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- urt/rle_open_f.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'urt/rle_open_f.c') 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 #include #include -/* Count outstanding children. Assume no more than 100 possible. */ -#define MAX_CHILDREN 100 - static FILE * -- cgit 1.4.1