bug-commoncpp
[Top][All Lists]
Advanced

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

RE: Building CC++ on Mac OS X


From: Ian Gough
Subject: RE: Building CC++ on Mac OS X
Date: Tue, 21 Jan 2003 09:47:57 -0500

> -----Original Message-----
> From: Federico Montesino Pouzols 
> [mailto:address@hidden On Behalf Of Federico 
> Montesino Pouzols
> Sent: Tuesday, January 21, 2003 4:59 AM
> To: Ian Gough
> Cc: 'bug-commoncpp'
> Subject: Re: Building CC++ on Mac OS X
> 
> 
> On Fri, Jan 17, 2003 at 01:32:01PM -0500, Ian Gough wrote:
> > > > 3) in socket.h: socklen_t is undefined. I found references
> > > on the inet
> > > > that spec that FreeBSD prior to 4.x and Solaris prior 
> to 7 (2.7) 
> > > > do
> > > > not define the type socklen_t and some of the mac os X 
> is based on 
> > > > FreeBSD 4.4. To cause this to be defined, I included 
> > > > -D_BSD_SOCKLEN_T_=int in the Makefile.
> > > > 
> > > 
> > >   Um, we will add a configuration test for this, in order
> > > to define _BSD_SOCKLEN_T when it is missing.
> > > 
> 
>       Um, I have just looked at this and actually there is already
> some autoconf stuff. Could you confirm if, in the config.h of cc++,
> the symbol HAVE_SOCKLEN_T is undefined?
> 

It is commented out. From include/cc++/config.h

#define HAVE_INET_ATON 1
#define HAVE_INET_SOCKETS 1
#define HAVE_UNIX_SOCKETS 1
/* #undef HAVE_SOCKLEN_T */
/* #undef HAVE_SYS_LIBCSYS_H */
/* #undef HAVE_SYS_STREAM_H */
/* #undef HAVE_SYS_POLL_H */
/* #undef HAVE_POLL_H */





reply via email to

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