Revert "cmake: use writev(3p) wrapper as needed"
This reverts commit 89152af176ea94ea8f3249115b6e00827fbbeb70; let's not use writev() for now.
Junio C Hamano committed
Apr 9, 2026 at 14:47 UTC
9c30dddefdfe22329fdad84e80a4eca117df7bd7
1 file changed
+1
-5
contrib/buildsystems/CMakeLists.txt
+1
-5
@@ -376,7 +376,7 @@ endif()
376
#function checks
377
set(function_checks
378
strcasestr memmem strlcpy strtoimax strtoumax strtoull
379
- setenv mkdtemp poll pread memmem writev)
379
+ setenv mkdtemp poll pread memmem)
380
381
#unsetenv,hstrerror are incompatible with windows build
382
if(NOT WIN32)
@@ -421,10 +421,6 @@ if(NOT HAVE_MEMMEM)
421
list(APPEND compat_SOURCES compat/memmem.c)
422
endif()
423
424
-if(NOT HAVE_WRITEV)
425
- list(APPEND compat_SOURCES compat/writev.c)
426
-endif()
427
-
424
if(NOT WIN32)
425
if(NOT HAVE_UNSETENV)
426
list(APPEND compat_SOURCES compat/unsetenv.c)