summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-10-14 19:08:36 +0000
committerRoland McGrath <roland@redhat.com>1993-10-14 19:08:36 +0000
commit0f83ab90e38ecb0f225ddc4514ccb331290561e8 (patch)
tree26a0f1b4b7a7c7581b6a6b69f54bce205f497393
parent0e15559bbf42596fc25cd7b68f01b2dd324703f0 (diff)
downloadgunmake-0f83ab90e38ecb0f225ddc4514ccb331290561e8.tar.gz
entered into RCS
-rw-r--r--job.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/job.c b/job.c
index 352afdf..882deb1 100644
--- 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