Re: Getting it to all work on HPUX

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Frediano Ziglio wrote:
> > I think we should use an autoconf test to detect the presence of
> > socklen_t instead of resorting to such ugliness .
> >
> 
> We already test for socklen_t. The problem is that HP-UX use
> socklen_t* for last getsockopt argument in some cases and int in some
> others (giving different defines). 

It reminds me of the gethostbyname_r fiasco.  Solvable with autoconf, but
not pretty.  Perhaps another project has already written the approprite
m4?  

--jkl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.