Revert "cmake: use writev(3p) wrapper as needed"
This reverts commit 89152af176ea94ea8f3249115b6e00827fbbeb70; let's not use writev() for now.maint
parent
60f07c4f5c
commit
9c30dddefd
|
|
@ -376,7 +376,7 @@ endif()
|
||||||
#function checks
|
#function checks
|
||||||
set(function_checks
|
set(function_checks
|
||||||
strcasestr memmem strlcpy strtoimax strtoumax strtoull
|
strcasestr memmem strlcpy strtoimax strtoumax strtoull
|
||||||
setenv mkdtemp poll pread memmem writev)
|
setenv mkdtemp poll pread memmem)
|
||||||
|
|
||||||
#unsetenv,hstrerror are incompatible with windows build
|
#unsetenv,hstrerror are incompatible with windows build
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
|
|
@ -421,10 +421,6 @@ if(NOT HAVE_MEMMEM)
|
||||||
list(APPEND compat_SOURCES compat/memmem.c)
|
list(APPEND compat_SOURCES compat/memmem.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT HAVE_WRITEV)
|
|
||||||
list(APPEND compat_SOURCES compat/writev.c)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
if(NOT HAVE_UNSETENV)
|
if(NOT HAVE_UNSETENV)
|
||||||
list(APPEND compat_SOURCES compat/unsetenv.c)
|
list(APPEND compat_SOURCES compat/unsetenv.c)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue