zos: use pthread helper functions
zOS does not implement some pthread_barrier functions. So we will use the provided helper functions in src/unix/pthread*. PR-URL: https://github.com/libuv/libuv/pull/954 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
841edfcd40
commit
00c0ff149d
@ -390,6 +390,8 @@ libuv_la_CFLAGS += -D_UNIX03_THREADS \
|
|||||||
-qXPLINK \
|
-qXPLINK \
|
||||||
-qFLOAT=IEEE
|
-qFLOAT=IEEE
|
||||||
libuv_la_LDFLAGS += -qXPLINK
|
libuv_la_LDFLAGS += -qXPLINK
|
||||||
|
libuv_la_SOURCES += src/unix/pthread-fixes.c \
|
||||||
|
src/unix/pthread-barrier.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if HAVE_PKG_CONFIG
|
if HAVE_PKG_CONFIG
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user