Mercurial > emacs
changeset 3238:0f0d9e9c33f2
(MAXDESC): Get it from FD_SETSIZE if that exists.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 29 May 1993 05:02:18 +0000 |
parents | b25509c0993b |
children | 2e4882a32671 |
files | src/process.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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