Re: Getting it to all work on HPUX

[email protected] (Christos Zoulas)
Newsgroups gmane.comp.db.tds.freetds
Organization Astron Software
Message-ID <[email protected]>
On Feb 9,  5:23pm, [email protected] (Frediano Ziglio) wrote:
-- Subject: Re: [freetds] Getting it to all work on HPUX

| > So, does this work?
| >
| > #if defined(__hpux) && !defined(_XOPEN_SOURCE_EXTENDED)
| >        int socklen;
| > #else
| >        socklen_t socklen;
| > #endif
| >
| > Sorry,^WThankfully I don't have HP/UX so I can't test. Having the same
| > symbol in two different libraries with different ABI is not the best
| > solution. Why aren't they using symbol renaming?
| >
| > christos
| 
| obviously it depends on linker options :(
| However a __getsockopt seems defined in xnet and use always socklen_t
| 

Then we can test for that... and HAVE___GETSOCKOPT...

christos
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.