undo breakage of OpenIndiana (Solaris) build
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
de3d3cc8cd
commit
d659b416f2
4 changed files with 12 additions and 8 deletions
|
@ -95,7 +95,7 @@ endif()
|
|||
|
||||
if(${CMAKE_C_COMPILER_ID} STREQUAL "SunPro")
|
||||
target_link_libraries(OSAPI INTERFACE -lsocket -lnsl)
|
||||
target_compile_definitions(OSAPI PRIVATE -KPIC)
|
||||
add_definitions(-KPIC)
|
||||
endif()
|
||||
|
||||
# Determine if platform is big or little endian.
|
||||
|
|
|
@ -74,8 +74,6 @@ extern "C" {
|
|||
typedef size_t os_iov_len_t;
|
||||
|
||||
#if defined(__sun) && !defined(_XPG4_2)
|
||||
#define msg_accrights msg_control
|
||||
#define msg_accrightslen msg_controllen
|
||||
#define OS_MSGHDR_FLAGS 0
|
||||
#else
|
||||
#define OS_MSGHDR_FLAGS 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue