entered into RCS
authorRoland McGrath <roland@redhat.com>
Thu, 14 Oct 1993 19:08:36 +0000 (19:08 +0000)
committerRoland McGrath <roland@redhat.com>
Thu, 14 Oct 1993 19:08:36 +0000 (19:08 +0000)
job.c

diff --git a/job.c b/job.c
index 352afdf..882deb1 100644 (file)
--- a/job.c
+++ b/job.c
@@ -116,6 +116,10 @@ extern int getdtablesize ();
 #else
 #include <sys/param.h>
 #define getdtablesize() NOFILE
+#if !defined (NOFILE) && defined (NOFILES_MAX)
+/* SCO 3.2 "devsys 4.2" defines NOFILES_{MIN,MAX} in lieu of NOFILE.  */
+#define NOFILE NOFILES_MAX
+#endif
 #endif
 #endif