From aaded2f90efdab2ccc7a95057cfb5762904e002b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 15 May 2011 18:50:52 +0000 Subject: [PATCH] * libc/include/sys/features.h (_POSIX_THREAD_ATTR_STACKADDR): Define to 200112L for Cygwin. --- newlib/ChangeLog | 5 +++++ newlib/libc/include/sys/features.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 34056dd07..90dc61d99 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2011-05-15 Corinna Vinschen + + * libc/include/sys/features.h (_POSIX_THREAD_ATTR_STACKADDR): Define + to 200112L for Cygwin. + 2011-05-12 Peter Rosin * libc/time/strptime.c (strptime): Fill in tm_yday when all of tm_year, diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index db39bbba8..1b3c4e6cb 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -128,7 +128,7 @@ extern "C" { #define _POSIX_SPIN_LOCKS 200112L /* #define _POSIX_SPORADIC_SERVER -1 */ #define _POSIX_SYNCHRONIZED_IO 200112L -/* #define _POSIX_THREAD_ATTR_STACKADDR -1 */ +#define _POSIX_THREAD_ATTR_STACKADDR 200112L #define _POSIX_THREAD_ATTR_STACKSIZE 200112L /* #define _POSIX_THREAD_CPUTIME -1 */ /* #define _POSIX_THREAD_PRIO_INHERIT -1 */