]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Revert "cmake: use writev(3p) wrapper as needed"
authorJunio C Hamano <gitster@pobox.com>
Thu, 9 Apr 2026 21:47:28 +0000 (14:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Apr 2026 21:47:28 +0000 (14:47 -0700)
This reverts commit 89152af176ea94ea8f3249115b6e00827fbbeb70; let's
not use writev() for now.

contrib/buildsystems/CMakeLists.txt

index d7a087e5842a91a5e9929a85b87a9d8e80066155..81b4306e72046c243f3aea5465490f28abd1e4e2 100644 (file)
@@ -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)