From 6af7fc64d24365b8a0ede770df1ea54f63cf356f Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 1 Oct 2025 10:50:34 +0930 Subject: [PATCH] configure: remove now-unneeded HAVE_PWRITEV. gossipd now uses pwrite(), which is more broadly supported. Signed-off-by: Rusty Russell --- configure | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/configure b/configure index ebfe22afc..7375b3d4f 100755 --- a/configure +++ b/configure @@ -488,29 +488,6 @@ code= #error "Not modern GCC" #endif /*END*/ -var=HAVE_PWRITEV -desc=pwritev() defined -style=DEFINES_EVERYTHING|EXECUTE|MAY_NOT_COMPILE -code= -#include -#include -#include -#include - -int main(void) -{ - struct iovec iov[2]; - int fd = open("/dev/null", O_WRONLY); - - iov[0].iov_base = "hello"; - iov[0].iov_len = 5; - iov[1].iov_base = " world"; - iov[1].iov_len = 6; - if (pwritev(fd, iov, 2, 0) == 11) - return 0; - return 1; -} -/*END*/ EOF if check_command 'python3-mako' python3 -c 'import mako'; then