summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/features.h2
2 files changed, 6 insertions, 1 deletions
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 <vinschen@redhat.com>
+
+ * libc/include/sys/features.h (_POSIX_THREAD_ATTR_STACKADDR): Define
+ to 200112L for Cygwin.
+
2011-05-12 Peter Rosin <peda@lysator.liu.se>
* 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 */