summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 12:20:37 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 12:20:37 -0800
commite38d1d27a1867b79eb86309f9d757133216cb32c (patch)
tree7901ed9c4303493732f26f8ef934ee7977da12e1
parent24951703b738407e172343f7721bd8217ee8430e (diff)
unifdef __OSF1__
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-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