summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-04-09 14:47:28 -0700
committerJunio C Hamano <gitster@pobox.com>2026-04-09 14:47:28 -0700
commit9c30dddefdfe22329fdad84e80a4eca117df7bd7 (patch)
treeeaee692126125e1f31fd0c8333d1d2a661e5d8d7
parent60f07c4f5c5f81c8a994d9e06b31a4a3a1679864 (diff)
downloadgit-9c30dddefdfe22329fdad84e80a4eca117df7bd7.tar.gz
git-9c30dddefdfe22329fdad84e80a4eca117df7bd7.zip
Revert "cmake: use writev(3p) wrapper as needed"
This reverts commit 89152af176ea94ea8f3249115b6e00827fbbeb70; let's not use writev() for now.
-rw-r--r--contrib/buildsystems/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/buildsystems/CMakeLists.txt b/contrib/buildsystems/CMakeLists.txt
index d7a087e584..81b4306e72 100644
--- a/contrib/buildsystems/CMakeLists.txt
+++ b/contrib/buildsystems/CMakeLists.txt
@@ -376,7 +376,7 @@ endif()
#function checks
set(function_checks
strcasestr memmem strlcpy strtoimax strtoumax strtoull
- setenv mkdtemp poll pread memmem writev)
+ setenv mkdtemp poll pread memmem)
#unsetenv,hstrerror are incompatible with windows build
if(NOT WIN32)
@@ -421,10 +421,6 @@ if(NOT HAVE_MEMMEM)
list(APPEND compat_SOURCES compat/memmem.c)
endif()
-if(NOT HAVE_WRITEV)
- list(APPEND compat_SOURCES compat/writev.c)
-endif()
-
if(NOT WIN32)
if(NOT HAVE_UNSETENV)
list(APPEND compat_SOURCES compat/unsetenv.c)