Skip to content

Commit 9c30ddd

Browse files
committed
Revert "cmake: use writev(3p) wrapper as needed"
This reverts commit 89152af; let's not use writev() for now.
1 parent 60f07c4 commit 9c30ddd

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

contrib/buildsystems/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ endif()
376376
#function checks
377377
set(function_checks
378378
strcasestr memmem strlcpy strtoimax strtoumax strtoull
379-
setenv mkdtemp poll pread memmem writev)
379+
setenv mkdtemp poll pread memmem)
380380

381381
#unsetenv,hstrerror are incompatible with windows build
382382
if(NOT WIN32)
@@ -421,10 +421,6 @@ if(NOT HAVE_MEMMEM)
421421
list(APPEND compat_SOURCES compat/memmem.c)
422422
endif()
423423

424-
if(NOT HAVE_WRITEV)
425-
list(APPEND compat_SOURCES compat/writev.c)
426-
endif()
427-
428424
if(NOT WIN32)
429425
if(NOT HAVE_UNSETENV)
430426
list(APPEND compat_SOURCES compat/unsetenv.c)

0 commit comments

Comments
 (0)