From: Nico Weber Date: Mon, 2 Apr 2018 17:45:47 +0000 (+0000) Subject: Remove more feature test macros that became unused after r328989. X-Git-Tag: llvmorg-7.0.0-rc1~9195 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a178fc55f068da314b7351065a0807fd3dbdd4ee;p=platform%2Fupstream%2Fllvm.git Remove more feature test macros that became unused after r328989. llvm-svn: 328995 --- diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake index ad9d917..9b3f72d 100644 --- a/llvm/cmake/config-ix.cmake +++ b/llvm/cmake/config-ix.cmake @@ -32,15 +32,12 @@ check_include_file(fcntl.h HAVE_FCNTL_H) check_include_file(link.h HAVE_LINK_H) check_include_file(malloc.h HAVE_MALLOC_H) check_include_file(malloc/malloc.h HAVE_MALLOC_MALLOC_H) -check_include_file(ndir.h HAVE_NDIR_H) if( NOT PURE_WINDOWS ) check_include_file(pthread.h HAVE_PTHREAD_H) endif() check_include_file(signal.h HAVE_SIGNAL_H) -check_include_file(sys/dir.h HAVE_SYS_DIR_H) check_include_file(sys/ioctl.h HAVE_SYS_IOCTL_H) check_include_file(sys/mman.h HAVE_SYS_MMAN_H) -check_include_file(sys/ndir.h HAVE_SYS_NDIR_H) check_include_file(sys/param.h HAVE_SYS_PARAM_H) check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H) check_include_file(sys/stat.h HAVE_SYS_STAT_H) diff --git a/llvm/include/llvm/Config/config.h.cmake b/llvm/include/llvm/Config/config.h.cmake index c8cfb7b..f8afd16 100644 --- a/llvm/include/llvm/Config/config.h.cmake +++ b/llvm/include/llvm/Config/config.h.cmake @@ -127,9 +127,6 @@ /* Define to 1 if you have the `malloc_zone_statistics' function. */ #cmakedefine HAVE_MALLOC_ZONE_STATISTICS ${HAVE_MALLOC_ZONE_STATISTICS} -/* Define to 1 if you have the header file, and it defines `DIR'. */ -#cmakedefine HAVE_NDIR_H ${HAVE_NDIR_H} - /* Define to 1 if you have the `posix_fallocate' function. */ #cmakedefine HAVE_POSIX_FALLOCATE ${HAVE_POSIX_FALLOCATE} @@ -184,20 +181,12 @@ /* Define to 1 if you have the `sysconf' function. */ #cmakedefine HAVE_SYSCONF ${HAVE_SYSCONF} -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -#cmakedefine HAVE_SYS_DIR_H ${HAVE_SYS_DIR_H} - /* Define to 1 if you have the header file. */ #cmakedefine HAVE_SYS_IOCTL_H ${HAVE_SYS_IOCTL_H} /* Define to 1 if you have the header file. */ #cmakedefine HAVE_SYS_MMAN_H ${HAVE_SYS_MMAN_H} -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -#cmakedefine HAVE_SYS_NDIR_H ${HAVE_SYS_NDIR_H} - /* Define to 1 if you have the header file. */ #cmakedefine HAVE_SYS_PARAM_H ${HAVE_SYS_PARAM_H}