diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2016-04-01 17:42:27 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2016-04-04 10:25:36 -0500 |
commit | 959d58ea7cb2bc7ed8ab4c804fc1d72a0f5ad01d (patch) | |
tree | 3be1cd21def3a0089a2fd7cfaf03595e8261c3c4 | |
parent | 929be8005ceed50182388ba14dc20317ddeeb7bd (diff) | |
download | cygnal-959d58ea7cb2bc7ed8ab4c804fc1d72a0f5ad01d.tar.gz cygnal-959d58ea7cb2bc7ed8ab4c804fc1d72a0f5ad01d.tar.bz2 cygnal-959d58ea7cb2bc7ed8ab4c804fc1d72a0f5ad01d.zip |
cygwin: update sysconf for new features
POSIX spawn and thread barriers have since been added. Also fix a typo in
_POSIX2_C_DEV (result is the same).
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
-rw-r--r-- | winsup/cygwin/sysconf.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/sysconf.cc b/winsup/cygwin/sysconf.cc index ae35c6e40..0d33bcb8a 100644 --- a/winsup/cygwin/sysconf.cc +++ b/winsup/cygwin/sysconf.cc @@ -565,7 +565,7 @@ static struct {cons, {c:PTHREAD_DESTRUCTOR_ITERATIONS}}, /* 53, _SC_THREAD_DESTRUCTOR_ITERATIONS */ {cons, {c:_POSIX_ADVISORY_INFO}}, /* 54, _SC_ADVISORY_INFO */ {cons, {c:ATEXIT_MAX}}, /* 55, _SC_ATEXIT_MAX */ - {cons, {c:-1L}}, /* 56, _SC_BARRIERS */ + {cons, {c:_POSIX_BARRIERS}}, /* 56, _SC_BARRIERS */ {cons, {c:BC_BASE_MAX}}, /* 57, _SC_BC_BASE_MAX */ {cons, {c:BC_DIM_MAX}}, /* 58, _SC_BC_DIM_MAX */ {cons, {c:BC_SCALE_MAX}}, /* 59, _SC_BC_SCALE_MAX */ @@ -584,7 +584,7 @@ static struct {cons, {c:_POSIX_REGEXP}}, /* 72, _SC_REGEXP */ {cons, {c:RE_DUP_MAX}}, /* 73, _SC_RE_DUP_MAX */ {cons, {c:_POSIX_SHELL}}, /* 74, _SC_SHELL */ - {cons, {c:-1L}}, /* 75, _SC_SPAWN */ + {cons, {c:_POSIX_SPAWN}}, /* 75, _SC_SPAWN */ {cons, {c:_POSIX_SPIN_LOCKS}}, /* 76, _SC_SPIN_LOCKS */ {cons, {c:-1L}}, /* 77, _SC_SPORADIC_SERVER */ {nsup, {c:0}}, /* 78, _SC_SS_REPL_MAX */ @@ -618,7 +618,7 @@ static struct {cons, {c:_XOPEN_VERSION}}, /* 106, _SC_XOPEN_VERSION */ {cons, {c:_POSIX2_CHAR_TERM}}, /* 107, _SC_2_CHAR_TERM */ {cons, {c:_POSIX2_C_BIND}}, /* 108, _SC_2_C_BIND */ - {cons, {c:_POSIX2_C_BIND}}, /* 109, _SC_2_C_DEV */ + {cons, {c:_POSIX2_C_DEV}}, /* 109, _SC_2_C_DEV */ {cons, {c:-1L}}, /* 110, _SC_2_FORT_DEV */ {cons, {c:-1L}}, /* 111, _SC_2_FORT_RUN */ {cons, {c:-1L}}, /* 112, _SC_2_LOCALEDEF */ |