Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2011-05-02 20:05:06 +0400
committerYaakov Selkowitz <yselkowi@redhat.com>2011-05-02 20:05:06 +0400
commit5f555b0bd35d3c18bd636bd15474178cda1264fc (patch)
tree705a2c5f8aaa79511415ebbf37716887f2252031 /newlib/libc/include/sys/features.h
parent8978381c2a9661e373e9f4f7a7776ceefb016380 (diff)
* libc/include/sys/features.h [__CYGWIN__] (_POSIX_SPIN_LOCKS): Define.
* libc/include/sys/types.h: Cygwin provides its own pthread_spinlock_t typedef.
Diffstat (limited to 'newlib/libc/include/sys/features.h')
-rw-r--r--newlib/libc/include/sys/features.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index b2e56daae..db39bbba8 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -125,7 +125,7 @@ extern "C" {
#define _POSIX_SHARED_MEMORY_OBJECTS 200112L
#define _POSIX_SHELL 1
/* #define _POSIX_SPAWN -1 */
-/* #define _POSIX_SPIN_LOCKS -1 */
+#define _POSIX_SPIN_LOCKS 200112L
/* #define _POSIX_SPORADIC_SERVER -1 */
#define _POSIX_SYNCHRONIZED_IO 200112L
/* #define _POSIX_THREAD_ATTR_STACKADDR -1 */