diff options
| author | Richard M. Stallman <rms@gnu.org> | 1993-05-29 05:02:18 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1993-05-29 05:02:18 +0000 |
| commit | 334c4f2ffd53c886ef40c5b768fe0e24b9579fd7 (patch) | |
| tree | c8893176d23e62b77a01e3cd89378262fb6f2e3e /src | |
| parent | a210860236582d73c57e620c3a4a19275d187940 (diff) | |
| download | emacs-334c4f2ffd53c886ef40c5b768fe0e24b9579fd7.tar.gz | |
(MAXDESC): Get it from FD_SETSIZE if that exists.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
