1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00

(MAXDESC): Get it from FD_SETSIZE if that exists.

This commit is contained in:
Richard M. Stallman 1993-05-29 05:02:18 +00:00
parent a210860236
commit 334c4f2ffd

View file

@ -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