[MPlayer-dev-eng] Re: UPDATED: A RTSP/ RTP streaming patch for "mplayer"
Felix Buenemann
atmosfear at users.sourceforge.net
Tue Aug 6 00:47:08 CEST 2002
On Monday 05 August 2002 20:14, Ross Finlayson wrote:
> >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)
>
> Whoa! That code is inside a
>
> #if defined(__WIN32__) || defined(_WIN32)
> #endif
>
> pair. So, if you're compiling for Unix, you shouldn't even be seeing that
> code! Do you happen to define "__WIN32__" or "_WIN32"? If so, why???
>
> Those of you who are trying to use the LIVE.COM code, but are having
> trouble with C++: Please first make sure that you can build the various
> test programs in the LIVE.COM "testProgs" directory. If you can do this
> without problems, then you'l probably be able to build "mplayer" also.
eeh it was at make all inside live dir and look at line 256 in
GroupsockHelper.cpp:
---snip---
//##### HACK to work around bugs in Linux and Windows:
#ifndef __BORLANDC__
extern int errno;
#endif
if (errno == 111 /*ECONNREFUSED*/
#if defined(__WIN32__) || defined(_WIN32)
---snip---
> Ross.
--
Best Regards,
Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
More information about the MPlayer-dev-eng
mailing list