summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fc/fslibos.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/fc/fslibos.h b/src/fc/fslibos.h
index 1ef362d..d42c5dc 100644
--- a/src/fc/fslibos.h
+++ b/src/fc/fslibos.h
@@ -65,14 +65,10 @@ from The Open Group.
# else
# include <sys/param.h>
# ifndef OPEN_MAX
-# ifdef __OSF1__
-# define OPEN_MAX 256
+# ifdef NOFILE
+# define OPEN_MAX NOFILE
# else
-# ifdef NOFILE
-# define OPEN_MAX NOFILE
-# else
-# define OPEN_MAX NOFILES_MAX
-# endif
+# define OPEN_MAX NOFILES_MAX
# endif
# endif
# endif