Implement clock_getres for Windows
authorOrvid King <blah38621@gmail.com>
Mon, 14 Sep 2015 22:53:54 +0000 (15:53 -0700)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Mon, 14 Sep 2015 23:20:21 +0000 (16:20 -0700)
commitbaaec11b91ada3955f57b7ec7e3e92e4e333e363
treed00e7404ebaa8d0adb1da14280ee3071f769636c
parent589b6f75808cccac7d56abed56ed062a31fedb4b
Implement clock_getres for Windows

Summary: Because the windows version of pthread very definitely does not implement the clock. The Cygwin and MinGW headers might, so let them still fall back to the pthread includes.
Closes https://github.com/facebook/folly/pull/280

Reviewed By: @yfeldblum

Differential Revision: D2419067

Pulled By: @JoelMarcey
folly/detail/Clock.cpp
folly/detail/Clock.h