diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-06-03 13:42:11 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-06-03 13:42:11 +0000 |
commit | c9280563fe3519a4a305a28cff3ee2f4368a76a4 (patch) | |
tree | 8e5ae44dc26f54c18250a88ac3786fe5681f4836 /cfg-common-opts.h | |
parent | 166ffef96b1b243b19ddd2f63774ae34ca7350d5 (diff) | |
download | mpv-c9280563fe3519a4a305a28cff3ee2f4368a76a4.tar.bz2 mpv-c9280563fe3519a4a305a28cff3ee2f4368a76a4.tar.xz |
CONFIG_LIBNEMESI and CONFIG_LIVE555 are not defined to 0/1 values.
Thus, we cannot check for them in an #if directive, but have to
use #if defined() instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29345 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common-opts.h')
-rw-r--r-- | cfg-common-opts.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg-common-opts.h b/cfg-common-opts.h index ee0cfcda4c..a3ad02e85f 100644 --- a/cfg-common-opts.h +++ b/cfg-common-opts.h @@ -83,12 +83,12 @@ #ifdef CONFIG_LIVE555 {"sdp", "-sdp has been removed, use sdp://file instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, #endif /* CONFIG_LIVE555 */ -#ifdef CONFIG_LIBNEMESI || CONFIG_LIVE555 +#if defined(CONFIG_LIBNEMESI) || defined(CONFIG_LIVE555) // -rtsp-stream-over-tcp option, specifying TCP streaming of RTP/RTCP {"rtsp-stream-over-tcp", &rtsp_transport_tcp, CONF_TYPE_FLAG, 0, 0, 1, NULL}, #else {"rtsp-stream-over-tcp", "-rtsp-stream-over-tcp requires the \"LIVE555 Streaming Media\" or \"libnemesi\" libraries.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, -#endif /* CONFIG_LIVE555 || CONFIG_LIBNEMESI */ +#endif /* defined(CONFIG_LIBNEMESI) || defined(CONFIG_LIVE555) */ #ifdef CONFIG_LIBNEMESI {"rtsp-stream-over-sctp", &rtsp_transport_sctp, CONF_TYPE_FLAG, 0, 0, 1, NULL}, #else |