+2011-05-02 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
+
+ * libc/include/sys/features.h [__CYGWIN__] (_POSIX_SPIN_LOCKS): Define.
+ * libc/include/sys/types.h: Cygwin provides its own pthread_spinlock_t
+ typedef.
+
2011-04-19 Corinna Vinschen <vinschen@redhat.com>
* libc/include/sys/signal.h (_sig_func_ptr): Define with int parameter
#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 */
/* POSIX Spin Lock Types */
+#if !defined (__CYGWIN__)
#if defined(_POSIX_SPIN_LOCKS)
typedef __uint32_t pthread_spinlock_t; /* POSIX Spin Lock Object */
#endif /* defined(_POSIX_SPIN_LOCKS) */
/* POSIX Reader/Writer Lock Types */
-#if !defined (__CYGWIN__)
#if defined(_POSIX_READER_WRITER_LOCKS)
typedef __uint32_t pthread_rwlock_t; /* POSIX RWLock Object */
typedef struct {