mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-19 00:56:41 +00:00
[lldb][AIX] Minor AIX specific changes (#132718)
This PR is in reference to porting LLDB on AIX. Link to discussions on llvm discourse and github: 1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640 2. https://github.com/llvm/llvm-project/issues/101657 The complete changes for porting are present in this draft PR: https://github.com/llvm/llvm-project/pull/102601 AIX build specific changes
This commit is contained in:
parent
6984cfea6c
commit
e6e8252ba0
@ -7,6 +7,10 @@ if (APPLE AND LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHES "AIX")
|
||||
add_definitions("-D_ALL_SOURCE")
|
||||
endif()
|
||||
|
||||
macro(add_host_subdirectory group)
|
||||
list(APPEND HOST_SOURCES ${ARGN})
|
||||
source_group(${group} FILES ${ARGN})
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include <pwd.h>
|
||||
#include <spawn.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user