diff options
author | Ken Brown <kbrown@cornell.edu> | 2021-01-29 17:14:35 +0300 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2021-02-01 17:55:08 +0300 |
commit | 5b8358e6ed8496f9c4a7cf6ed0fa740c79ff3719 (patch) | |
tree | de203e68efc3206377bdb1647550c6fcc773cf1c /winsup/cygwin/sysconf.cc | |
parent | b9cbc49b70c96bed047f8c9f2e995719ca68fc01 (diff) |
Cygwin: remove the OPEN_MAX_MAX macro
Replace all occurrences of OPEN_MAX_MAX by OPEN_MAX, and define the
latter to be 3200, which was the value of the former. In view of the
recent change to getdtablesize, there is no longer a need to
distinguish between these two macros.
Diffstat (limited to 'winsup/cygwin/sysconf.cc')
-rw-r--r-- | winsup/cygwin/sysconf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sysconf.cc b/winsup/cygwin/sysconf.cc index d5d82bb4a..70cdb0fbd 100644 --- a/winsup/cygwin/sysconf.cc +++ b/winsup/cygwin/sysconf.cc @@ -511,7 +511,7 @@ static struct {cons, {c:CHILD_MAX}}, /* 1, _SC_CHILD_MAX */ {cons, {c:CLOCKS_PER_SEC}}, /* 2, _SC_CLK_TCK */ {cons, {c:NGROUPS_MAX}}, /* 3, _SC_NGROUPS_MAX */ - {cons, {c:OPEN_MAX_MAX}}, /* 4, _SC_OPEN_MAX */ + {cons, {c:OPEN_MAX}}, /* 4, _SC_OPEN_MAX */ {cons, {c:_POSIX_JOB_CONTROL}}, /* 5, _SC_JOB_CONTROL */ {cons, {c:_POSIX_SAVED_IDS}}, /* 6, _SC_SAVED_IDS */ {cons, {c:_POSIX_VERSION}}, /* 7, _SC_VERSION */ |