mirror of
https://github.com/curl/curl.git
synced 2026-08-25 09:13:31 +03:00
socketpair: allow CURL_DISABLE_SOCKETPAIR
... to completely disable the use of socketpair
This commit is contained in:
parent
861b45423d
commit
b4a712dab0
2 changed files with 4 additions and 4 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 2019, 2020, Daniel Stenberg, <daniel@haxx.se>, 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue