Mercurial > emacs
diff src/process.c @ 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 | 98505a819898 |
| children | b4a552ca4e99 |
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
