Skip to content

Commit 51278c1

Browse files
committed
Merge AIX and Cygwin with the majority of platforms
1 parent d5478cf commit 51278c1

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

llvm/cmake/config-ix.cmake

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,7 @@ include(CheckCompilerVersion)
1717
include(CheckProblematicConfigurations)
1818
include(HandleLLVMStdlib)
1919

20-
if (ANDROID OR CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD|Haiku|Linux|NetBSD|OpenBSD|SunOS")
21-
set(HAVE_DLFCN_H 1)
22-
set(HAVE_ERRNO_H 1)
23-
set(HAVE_FCNTL_H 1)
24-
set(HAVE_FENV_H 1)
25-
set(HAVE_MACH_MACH_H 0)
26-
set(HAVE_MALLOC_MALLOC_H 0)
27-
set(HAVE_PTHREAD_H 1)
28-
set(HAVE_SIGNAL_H 1)
29-
set(HAVE_SYS_IOCTL_H 1)
30-
set(HAVE_SYS_MMAN_H 1)
31-
set(HAVE_SYS_PARAM_H 1)
32-
set(HAVE_SYS_RESOURCE_H 1)
33-
set(HAVE_SYS_STAT_H 1)
34-
set(HAVE_SYS_TIME_H 1)
35-
set(HAVE_SYS_TYPES_H 1)
36-
set(HAVE_SYSEXITS_H 1)
37-
set(HAVE_TERMIOS_H 1)
38-
set(HAVE_UNISTD_H 1)
39-
elseif (CMAKE_SYSTEM_NAME STREQUAL "AIX" OR CYGWIN)
20+
if (ANDROID OR CYGWIN OR CMAKE_SYSTEM_NAME MATCHES "AIX|DragonFly|FreeBSD|Haiku|Linux|NetBSD|OpenBSD|SunOS")
4021
set(HAVE_DLFCN_H 1)
4122
set(HAVE_ERRNO_H 1)
4223
set(HAVE_FCNTL_H 1)

0 commit comments

Comments
 (0)