Hi Rafa,

Arggh, a submission made by Mathias to fix build problems on other
platforms has obviously broken it here..  You could revert this fix
temporarily, or if you can find a workable modification of Mathias'
change then please post the compete file to me.

Cheers,
Robert.

On 7/14/07, Rafa Gaitan <[EMAIL PROTECTED]> wrote:
Hi Robert,

Recent changes in net plugin have broken compilation in mac, I've realized
that the this define is not correctly in my system:

#if (defined(__APPLE__)&&(__GNUC__<4)) ||
(defined(WIN32)&&!defined(__CYGWIN__)) ||
!defined(_XOPEN_SOURCE_EXTENDED)
#define socklen_t int
#endif

This is defined in sockinet.cpp and sockstream.cpp

I have Tiger, so I think many mac users with tiger will have the same problem.
I have gnu 4.0.1, so the problem could be the
!defined(_XOPEN_SOURCE_EXTENDED), commenting the last "or", compiles
ok.. I don't know if this will break the compilation
in other system.. but needed for mac! ;)

Thanks.
Rafa.

--
Rafael Gaitán Linares
Instituto de Automática e Informática Industrial  http://www.ai2.upv.es
Ciudad Politécnica de la Innovación
Universidad Politécnica de Valencia
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to