From: Yaakov Selkowitz Date: Mon, 2 May 2011 16:11:06 +0000 (+0000) Subject: * sysconf.cc (sca): Set _SC_SPIN_LOCKS to _POSIX_SPIN_LOCKS. X-Git-Tag: sid-snapshot-20110601~155 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=58349d7c9d7fcb8bd20f03aedcb90cee4aeb830e;p=newlib-cygwin.git * sysconf.cc (sca): Set _SC_SPIN_LOCKS to _POSIX_SPIN_LOCKS. --- diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 20a009c1a..eb72c417b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2011-05-02 Yaakov Selkowitz + + * sysconf.cc (sca): Set _SC_SPIN_LOCKS to _POSIX_SPIN_LOCKS. + 2011-05-02 Christopher Faylor * dll_init.cc (dll_list::alloc): Reset 'p' in forked process. diff --git a/winsup/cygwin/sysconf.cc b/winsup/cygwin/sysconf.cc index 4e14417ae..8d4febaa3 100644 --- a/winsup/cygwin/sysconf.cc +++ b/winsup/cygwin/sysconf.cc @@ -172,7 +172,7 @@ static struct {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:-1L}}, /* 76, _SC_SPIN_LOCKS */ + {cons, {c:_POSIX_SPIN_LOCKS}}, /* 76, _SC_SPIN_LOCKS */ {cons, {c:-1L}}, /* 77, _SC_SPORADIC_SERVER */ {nsup, {c:0}}, /* 78, _SC_SS_REPL_MAX */ {cons, {c:SYMLOOP_MAX}}, /* 79, _SC_SYMLOOP_MAX */