From: Junio C Hamano Date: Thu, 9 Apr 2026 21:47:28 +0000 (-0700) Subject: Revert "cmake: use writev(3p) wrapper as needed" X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c30dddefdfe22329fdad84e80a4eca117df7bd7;p=thirdparty%2Fgit.git Revert "cmake: use writev(3p) wrapper as needed" This reverts commit 89152af176ea94ea8f3249115b6e00827fbbeb70; let's not use writev() for now. --- 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)