OSDN Git Service

* libc/include/sys/features.h: Add definition of all supported
[pf3gnuchains/pf3gnuchains4x.git] / newlib / libc / include / sys / types.h
index c1bff47..c8b5d94 100644 (file)
@@ -391,6 +391,7 @@ typedef __uint32_t pthread_spinlock_t;        /* POSIX Spin Lock Object */
 
 /* 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 {
@@ -400,6 +401,7 @@ typedef struct {
 #endif
 } pthread_rwlockattr_t;
 #endif /* defined(_POSIX_READER_WRITER_LOCKS) */
+#endif /* __CYGWIN__ */
 
 #endif  /* !__need_inttypes */