disabling of rtsp when http isn't enabled required here for non-configure systems

This commit is contained in:
Yang Tse 2010-01-22 14:20:08 +00:00
parent 099eed7bf1
commit bdb338b3c7
1 changed files with 9 additions and 1 deletions

View File

@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2010, 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
@ -172,6 +172,14 @@
# define CURL_DISABLE_RTSP
#endif
/*
* When http is disabled rtsp is not supported.
*/
#ifdef CURL_DISABLE_HTTP
# define CURL_DISABLE_RTSP
#endif
/* ================================================================ */
/* No system header file shall be included in this file before this */
/* point. The only allowed ones are those included from curlbuild.h */