bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error compiling network.cpp on Solaris 8


From: Federico Montesino Pouzols
Subject: Re: Error compiling network.cpp on Solaris 8
Date: Wed, 19 Mar 2003 17:20:30 +0100
User-agent: Mutt/1.5.3i

        Ok, the change you suggest is in CVS.

On Wed, Mar 19, 2003 at 07:18:32AM -0800, Craig E. Johnston wrote:
> I don't think this symbol will work, as it is defined even when the
> ifr_mtu union member is not available.  Another symbol, SIOCGLIFMTU, is
> defined in Solaris's sys/sockio.h.  Thus, the logic below could be
> reversed to test for SIOCGLIFMTU and use lifr_mtu, otherwise use
> ifr_mtu.
> 
> Craig
> 
> On Tue, 2003-03-18 at 10:33, Federico Montesino Pouzols wrote:
> > 
> >     I have committed this patch, but replacing 
> > 
> > #ifdef CEJ_SOLARIS_FIX
> > 
> >     with
> > 
> > #ifdef SIOCGIFMTU
> > 
> >     as it seems less Solaris-specific. Will this work on Solaris,
> > or is SIOCGIFMTU defined even if it does not work? In such case we
> > will have to add more symbols, like:
> > 
> > #if defined(SIOCGIFMTU) && ( !defined(_THR_SUNOS5) || 
> > defined(CEJ_SOLARIS_FIX) )
> > 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]