From 1ff058d91890f9f1ef7d320fb2c57bd13e214c51 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 14 Aug 2020 15:45:08 +0200 Subject: socketpair: allow CURL_DISABLE_SOCKETPAIR ... to completely disable the use of socketpair --- lib/socketpair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/socketpair.c') diff --git a/lib/socketpair.c b/lib/socketpair.c index 1ec0d75a4..2a89b7b20 100644 --- a/lib/socketpair.c +++ b/lib/socketpair.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2019, Daniel Stenberg, , et al. + * Copyright (C) 2019, 2020, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -23,7 +23,7 @@ #include "curl_setup.h" #include "socketpair.h" -#ifndef HAVE_SOCKETPAIR +#if !defined(HAVE_SOCKETPAIR) && !defined(CURL_DISABLE_SOCKETPAIR) #ifdef WIN32 /* * This is a socketpair() implementation for Windows. -- cgit v1.2.1