# HG changeset patch # User Richard M. Stallman # Date 738651738 0 # Node ID 0f0d9e9c33f26e040c481a8128eee7d729358ca1 # Parent b25509c0993b6772a30c9786bcf94255db9231b5 (MAXDESC): Get it from FD_SETSIZE if that exists. diff -r b25509c0993b -r 0f0d9e9c33f2 src/process.c --- a/src/process.c Sat May 29 05:00:58 1993 +0000 +++ b/src/process.c Sat May 29 05:02:18 1993 +0000 @@ -235,7 +235,11 @@ /* We could get this from param.h, but better not to depend on finding that. And better not to risk that it might define other symbols used in this file. */ +#ifdef FD_SETSIZE +#define MAXDESC FD_SETSIZE +#else #define MAXDESC 64 +#endif #define SELECT_TYPE fd_set #else /* no FD_SET */ #define MAXDESC 32