From 3c95f90599bb77e2576d78a4f072f32e166767c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Tue, 12 May 1998 00:33:11 -0700 Subject: [PATCH] and may select() work with lots of FDs :) Rev: src/global.h:1.21 --- src/global.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/global.h b/src/global.h index f8f3674ba9..3c1fee03a4 100644 --- a/src/global.h +++ b/src/global.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: global.h,v 1.20 1998/03/28 15:15:13 grubba Exp $ + * $Id: global.h,v 1.21 1998/05/12 07:33:11 hubbe Exp $ */ #ifndef GLOBAL_H #define GLOBAL_H @@ -42,6 +42,11 @@ struct svalue; #include "machine.h" +/* + * Ugga, bugga, hope the gods of select() listen to us! + */ +#define FD_SETSIZE MAX_OPEN_FILEDESCRIPTORS + /* * Max number of local variables in a function. * Currently there is no support for more than 256 -- GitLab