[vlc-devel] [PATCH 07/18] Define IPv6 stuffs required in order to compile on OS/2.

KO Myung-Hun komh78 at gmail.com
Fri Oct 21 14:49:29 CEST 2011



Rémi Denis-Courmont wrote:
> On Thu, 20 Oct 2011 21:30:14 +0900, KO Myung-Hun <komh at chollian.net>
> wrote:
>> ---
>>  include/vlc_network.h  |   23 +++++++++++++++++++++++
>>  src/network/rootbind.c |    5 +++++
>>  2 files changed, 28 insertions(+), 0 deletions(-)
> 
> If it comes to hacks, #undef AF_INET6 like for Symbian may be more
> efficient than dummy IPv6 definitions.
> 

IIRC, some files used AF_INET6 and AF_INET simultaneously without #ifdef
for AF_INET6.

This makes the sources a bit messy if using #ifdef for AF_INET6, so I
decided to use dummy IPv6 definitions instead of undefining AF_INET6.

Those files are

    modules/misc/rtsp.c
    modules/stream_out/rtp.c
    modules/stream_out/vod.c

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.0.14
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 1GHz with 512 MB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr




More information about the vlc-devel mailing list