ibmi: add support for IBM i to cmake build
PR-URL: https://github.com/libuv/libuv/pull/2148 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
91ca6788bb
commit
8d62d933ef
@ -305,6 +305,21 @@ if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
|
||||
list(APPEND uv_sources src/unix/openbsd.c)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "OS400")
|
||||
list(APPEND uv_cflags -Wno-attributes)
|
||||
list(APPEND uv_defines
|
||||
_ALL_SOURCE
|
||||
_LINUX_SOURCE_COMPAT
|
||||
_THREAD_SAFE
|
||||
_XOPEN_SOURCE=500)
|
||||
list(APPEND uv_sources
|
||||
src/unix/aix-common.c
|
||||
src/unix/ibmi.c
|
||||
src/unix/posix-poll.c
|
||||
src/unix/no-fsevents.c
|
||||
src/unix/no-proctitle.c)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "OS/390")
|
||||
list(APPEND uv_defines PATH_MAX=255)
|
||||
list(APPEND uv_defines _AE_BIMODAL)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user