[Pdns-users] some Solaris issues

Peter van Dijk peter.van.dijk at netherlabs.nl
Mon Apr 16 09:17:30 UTC 2012

Hello Juraj,

On Apr 15, 2012, at 10:26 , Juraj Lutter wrote:

> On http://buildfarm.opencsw.org/~wilbury/pdns-3.1-rc2-patches/ you can
> find a patch against 3.1-rc2 which replaces call to ``rdtsc''
> instruction by a call to gethrtime() function which does the same thing
> and is Solaris API compliant. The patch is only for SPARC platform, on
> x86 you still can use ``rdtsc''

I'd be happy to apply it. I do have a question. Both historically and as a result of some of your patches, we now have checks for '__sun' and '__sun+__SVR4', and your patch uses __SPARC__. I have to ask: which check is right in which situation?

Kind regards,
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/

More information about the Pdns-users mailing list