From: Daniel Stenberg Date: Mon, 14 Dec 2020 13:10:33 +0000 (+0100) Subject: rtsp: disable if Hyper is used X-Git-Tag: curl-7_75_0~218 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4daba0676265a00a12f1cdf5ef9f0d6ee02761b9;p=thirdparty%2Fcurl.git rtsp: disable if Hyper is used --- diff --git a/lib/rtsp.c b/lib/rtsp.c index 151ff4af27..e9ee2b36b5 100644 --- a/lib/rtsp.c +++ b/lib/rtsp.c @@ -22,7 +22,7 @@ #include "curl_setup.h" -#ifndef CURL_DISABLE_RTSP +#if !defined(CURL_DISABLE_RTSP) && !defined(USE_HYPER) #include "urldata.h" #include @@ -826,4 +826,4 @@ CURLcode Curl_rtsp_parseheader(struct connectdata *conn, return CURLE_OK; } -#endif /* CURL_DISABLE_RTSP */ +#endif /* CURL_DISABLE_RTSP or using Hyper */ diff --git a/lib/rtsp.h b/lib/rtsp.h index bf7f0bc8ef..76ed28b4c8 100644 --- a/lib/rtsp.h +++ b/lib/rtsp.h @@ -21,6 +21,10 @@ * KIND, either express or implied. * ***************************************************************************/ +#ifdef USE_HYPER +#define CURL_DISABLE_RTSP +#endif + #ifndef CURL_DISABLE_RTSP extern const struct Curl_handler Curl_handler_rtsp;