]> git.sesse.net Git - vlc/commitdiff
ifdef for old OSes
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 5 Feb 2007 17:35:14 +0000 (17:35 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 5 Feb 2007 17:35:14 +0000 (17:35 +0000)
modules/access_output/udp.c

index a7c86fe65bb665d3c934b95a2235e48e5a794a1e..0879830c5ef1c5dc13c0904b5f5f0fd67a05e9e0 100644 (file)
@@ -279,9 +279,12 @@ static int Open( vlc_object_t *p_this )
 
     p_sys->p_thread->i_handle = i_handle;
     net_StopRecv( i_handle );
+
+#ifdef UDPLITE_SEND_CSCOV
     if (proto == IPPROTO_UDPLITE)
         setsockopt (i_handle, SOL_UDPLITE, UDPLITE_SEND_CSCOV,
                     &cscov, sizeof (cscov));
+#endif
 
     var_Get( p_access, SOUT_CFG_PREFIX "caching", &val );
     p_sys->p_thread->i_caching = (int64_t)val.i_int * 1000;