We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 177a571 commit 14aa275Copy full SHA for 14aa275
src/etc/nacl-pthreads.patch
@@ -0,0 +1,21 @@
1
+diff --git a/sys/types.h b/sys/types.h
2
+index c6ac60a..8c4be36 100644
3
+--- a/sys/types.h
4
++++ b/sys/types.h
5
+@@ -515,7 +515,7 @@ typedef __uint32_t pthread_spinlock_t; /* POSIX Spin Lock Object */
6
+ #endif /* defined(_POSIX_SPIN_LOCKS) */
7
+
8
+ /* POSIX Reader/Writer Lock Types */
9
+-
10
++#if !defined(__native_client__)
11
+ #if defined(_POSIX_READER_WRITER_LOCKS)
12
+ typedef __uint32_t pthread_rwlock_t; /* POSIX RWLock Object */
13
+ typedef struct {
14
+@@ -525,6 +525,7 @@ typedef struct {
15
+ #endif
16
+ } pthread_rwlockattr_t;
17
+ #endif /* defined(_POSIX_READER_WRITER_LOCKS) */
18
++#endif /* !defined(__native_client__) */
19
+ #endif /* __CYGWIN__ */
20
21
+ #endif /* !__need_inttypes */
0 commit comments