From 334c4f2ffd53c886ef40c5b768fe0e24b9579fd7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 29 May 1993 05:02:18 +0000 Subject: [PATCH] (MAXDESC): Get it from FD_SETSIZE if that exists. --- src/process.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/process.c b/src/process.c index f2c01258774..7bada8607c7 100644 --- a/src/process.c +++ b/src/process.c @@ -235,7 +235,11 @@ int update_tick; /* 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