Le 2010-11-20 à 4:43, Jonathan M Davis a écrit : > librt is required for clock_gettime(), so that is the correct fix. > Apparently, > MacOS doesn't have clock_gettime(), so it will continue to use gettimeofday() > and won't need librt (it probably isn't on the system anyway, or it would > have > clock_gettime()). I have no idea about FreeBSD.
I think you can use mach_absolute_time() for monotonic time on OS X. See this technote: <http://developer.apple.com/library/mac/qa/qa2004/qa1398.html> -- Michel Fortin [email protected] http://michelf.com/ _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
