Skip to content

Commit c360ca5

Browse files
Move _b_lock and _b_waiters back to not emscripten-only
1 parent d01f14d commit c360ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/lib/libc/musl/src/internal/pthread_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ struct __timer {
102102
// _rw_wr_owner to record which thread owns the write lock in order to avoid hangs.
103103
// Points to the pthread that currently has the write lock.
104104
#define _rw_wr_owner __u.__vi[3]
105+
#endif
105106
#define _b_lock __u.__vi[0]
106107
#define _b_waiters __u.__vi[1]
107-
#endif
108108
#define _b_limit __u.__i[2]
109109
#define _b_count __u.__vi[3]
110110
#define _b_waiters2 __u.__vi[4]

0 commit comments

Comments
 (0)