]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
rtsp: disable if Hyper is used
authorDaniel Stenberg <daniel@haxx.se>
Mon, 14 Dec 2020 13:10:33 +0000 (14:10 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 18 Dec 2020 08:58:04 +0000 (09:58 +0100)
lib/rtsp.c
lib/rtsp.h

index 151ff4af2703fb0bd6093981c8b1d11fb0087646..e9ee2b36b50e29752aa91d93d81168b0b25fb153 100644 (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 */
index bf7f0bc8ef3a27a8338b35f12b86e765c8b48f93..76ed28b4c889706e90beb89d26bb7ffddd9fc1b3 100644 (file)
  * 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;