aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-29 05:02:18 +0000
committerRichard M. Stallman1993-05-29 05:02:18 +0000
commit334c4f2ffd53c886ef40c5b768fe0e24b9579fd7 (patch)
treec8893176d23e62b77a01e3cd89378262fb6f2e3e /src/process.c
parenta210860236582d73c57e620c3a4a19275d187940 (diff)
downloademacs-334c4f2ffd53c886ef40c5b768fe0e24b9579fd7.tar.gz
emacs-334c4f2ffd53c886ef40c5b768fe0e24b9579fd7.zip
(MAXDESC): Get it from FD_SETSIZE if that exists.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
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;
235/* We could get this from param.h, but better not to depend on finding that. 235/* We could get this from param.h, but better not to depend on finding that.
236 And better not to risk that it might define other symbols used in this 236 And better not to risk that it might define other symbols used in this
237 file. */ 237 file. */
238#ifdef FD_SETSIZE
239#define MAXDESC FD_SETSIZE
240#else
238#define MAXDESC 64 241#define MAXDESC 64
242#endif
239#define SELECT_TYPE fd_set 243#define SELECT_TYPE fd_set
240#else /* no FD_SET */ 244#else /* no FD_SET */
241#define MAXDESC 32 245#define MAXDESC 32