1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-10 21:48:10 -05:00

rtsp: disable if Hyper is used

This commit is contained in:
Daniel Stenberg 2020-12-14 14:10:33 +01:00
parent 34021b804d
commit 4daba06762
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 6 additions and 2 deletions

View File

@ -22,7 +22,7 @@
#include "curl_setup.h"
#ifndef CURL_DISABLE_RTSP
#if !defined(CURL_DISABLE_RTSP) && !defined(USE_HYPER)
#include "urldata.h"
#include <curl/curl.h>
@ -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 */

View File

@ -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;