aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-01-22 14:20:08 +0000
committerYang Tse <yangsita@gmail.com>2010-01-22 14:20:08 +0000
commitbdb338b3c748fa1829b85cbe708764237a9e6ccc (patch)
treef764d282e8390eddc1b99b2f6fa73a1159608857 /lib
parent099eed7bf1624857030d74d6073ef19fd9ed1916 (diff)
disabling of rtsp when http isn't enabled required here for non-configure systems
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/setup.h b/lib/setup.h
index b8d62d417..bcfd3835d 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -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 */