]> git.ipfire.org Git - thirdparty/make.git/commitdiff
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 352afdfeafff45f8771d5b2c7db4392e92ebda01..882deb102ff9736f4ca5d1d8cc45ba3d874a0e21 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