Hal Murray via devel <devel@ntpsec.org>: > devel/hacking.adoc says: > You *may* use clock_gettime(2) and clock_settime(2) calls, and > the related getitimer(2)/setitimer(2), from POSIX-1.2008. > > My man pages say both are in POSIX.1-2001. > > Is there any reason we don't pick one and discard the crufty ifdefs? > > No big deal, just another minor cleanup that makes the code slightly easier > to > read and maintain.
I believe those #ifdefs are a port hack for a minor platform that's not completely standards-cimpliant, most likely some version og Mac OS/X. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel