diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2018-04-02 14:18:13 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2018-04-02 14:18:13 +0000 |
| commit | 9f03e9de77b5ff11c7cbea4ee12e54b08223ebf9 (patch) | |
| tree | a62715ac1459c6c6df152dcaecb6d6c71b8218fd | |
| parent | ae2a14be2a886b41055fdb0c370c5974500bf601 (diff) | |
| download | bcm5719-llvm-9f03e9de77b5ff11c7cbea4ee12e54b08223ebf9.tar.gz bcm5719-llvm-9f03e9de77b5ff11c7cbea4ee12e54b08223ebf9.zip | |
Remove HAVE_WRITEV that's unused after r255837.
llvm-svn: 328977
| -rw-r--r-- | llvm/cmake/config-ix.cmake | 4 | ||||
| -rw-r--r-- | llvm/include/llvm/Config/config.h.cmake | 6 | ||||
| -rw-r--r-- | llvm/lib/Support/raw_ostream.cpp | 3 |
3 files changed, 0 insertions, 13 deletions
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake index e988fea8905..be4ecde7274 100644 --- a/llvm/cmake/config-ix.cmake +++ b/llvm/cmake/config-ix.cmake @@ -47,7 +47,6 @@ check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H) check_include_file(sys/stat.h HAVE_SYS_STAT_H) check_include_file(sys/time.h HAVE_SYS_TIME_H) check_include_file(sys/types.h HAVE_SYS_TYPES_H) -check_include_file(sys/uio.h HAVE_SYS_UIO_H) check_include_file(termios.h HAVE_TERMIOS_H) check_include_file(unistd.h HAVE_UNISTD_H) check_include_file(valgrind/valgrind.h HAVE_VALGRIND_VALGRIND_H) @@ -198,9 +197,6 @@ check_symbol_exists(posix_fallocate fcntl.h HAVE_POSIX_FALLOCATE) if( HAVE_SIGNAL_H AND NOT LLVM_USE_SANITIZER MATCHES ".*Address.*" AND NOT APPLE ) check_symbol_exists(sigaltstack signal.h HAVE_SIGALTSTACK) endif() -if( HAVE_SYS_UIO_H ) - check_symbol_exists(writev sys/uio.h HAVE_WRITEV) -endif() set(CMAKE_REQUIRED_DEFINITIONS "-D_LARGEFILE64_SOURCE") check_symbol_exists(lseek64 "sys/types.h;unistd.h" HAVE_LSEEK64) set(CMAKE_REQUIRED_DEFINITIONS "") diff --git a/llvm/include/llvm/Config/config.h.cmake b/llvm/include/llvm/Config/config.h.cmake index 6250aa37054..7ab9f55bc41 100644 --- a/llvm/include/llvm/Config/config.h.cmake +++ b/llvm/include/llvm/Config/config.h.cmake @@ -226,9 +226,6 @@ /* Define to 1 if you have the <sys/types.h> header file. */ #cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H} -/* Define to 1 if you have the <sys/uio.h> header file. */ -#cmakedefine HAVE_SYS_UIO_H ${HAVE_SYS_UIO_H} - /* Define if the setupterm() function is supported this platform. */ #cmakedefine HAVE_TERMINFO ${HAVE_TERMINFO} @@ -244,9 +241,6 @@ /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ #cmakedefine HAVE_VALGRIND_VALGRIND_H ${HAVE_VALGRIND_VALGRIND_H} -/* Define to 1 if you have the `writev' function. */ -#cmakedefine HAVE_WRITEV ${HAVE_WRITEV} - /* Define to 1 if you have the <zlib.h> header file. */ #cmakedefine HAVE_ZLIB_H ${HAVE_ZLIB_H} diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp index e0261110308..5ecb18fc72f 100644 --- a/llvm/lib/Support/raw_ostream.cpp +++ b/llvm/lib/Support/raw_ostream.cpp @@ -41,9 +41,6 @@ #if defined(HAVE_UNISTD_H) # include <unistd.h> #endif -#if defined(HAVE_SYS_UIO_H) && defined(HAVE_WRITEV) -# include <sys/uio.h> -#endif #if defined(__CYGWIN__) #include <io.h> |

