[Live-devel] liveMedia on OSX 10.4

Derk-Jan Hartman hartman at videolan.org
Sun Apr 10 16:16:27 PDT 2005


On 10 apr 2005, at 04:06, Ross Finlayson wrote:
>>> Probably the simplest thing to do would be to just remove the
>>>         -DSOCKLEN_T=int
>>> from "config.macosx", and rerun "genMakefiles macosx".
>>>
>>> In future releases, I'll have two config files
>>>         config.macosx-before-version-10.4
>>>         (which will have "-DSOCKLEN_T=int")
>>> and
>>>         config.macosx
>>>         (which won't)
>>
>> Yes, well i tried this, and you see. it's not working....
>> perhaps socket.h isn't included properly  ?
>> or do you need to define -DSOCKLEN_T=socklen_t ????
>
> I don't know (I don't have a Mac OS X 10.4 system handy).
>
> Please check this, and let me know what will work.

Clearly the latter.
But why do you use SOCKLEN_T sizeSize = sizeof requestedSize; in 
groupsock ???

wouldn't it be better to use plain socklen_t for the declerations?
And then in case socklen_t is not provided to #define socklen_t int ???
This is how all the projects do it... Seems much easier and less error 
prone.

DJ

---
Universiteit Twente
Derk-Jan Hartman (d.hartman at student.utwente dot nl)
http://home.student.utwente.nl/d.hartman



More information about the live-devel mailing list