[MPlayer-dev-eng] Re: UPDATED: A RTSP/ RTP streaming patch for "mplayer"
Felix Buenemann
atmosfear at users.sourceforge.net
Mon Aug 5 23:52:23 CEST 2002
On Monday 05 August 2002 16:27, Mirko Streckenbach wrote:
> Arpi <arpi at thot.banki.hu> writes:
> > we agree at least on that c++ sucks...
>
> This is not a c++ issue. The live.com library has code like:
>
> #ifndef __BORLANDC__
> extern int errno;
> #endif
> if (errno == 0) {
> errno = WSAGetLastError();
> }
>
> (from live/groupsock/GroupsockHelper.cpp)
>
> which will cause problems with glibc. If you remove all
>
> extern int errno;
>
> the code will compile fine, regardless of the compiler version.
thx, I changed that code to #if !defined(__BORLANDC__) && !defined(__GNUC__)
and then it compiled. Ross should probably incorporate that change into the
live.com sourcetree.
>
> ciao,
> mirko.
--
Best Regards,
Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
More information about the MPlayer-dev-eng
mailing list