Use winpthreads clock_gettime implementations
authorElizabeth Smith <elizabeths@fb.com>
Tue, 6 May 2014 18:39:21 +0000 (11:39 -0700)
committerDave Watson <davejwatson@fb.com>
Tue, 20 May 2014 19:53:57 +0000 (12:53 -0700)
commit9a56c3159ac79583466e9e0cdb9819f65263aa3d
treef45ab448272eab17105a23b5b0e584b8847fea80
parent98f4bfaf728390a3ee9f2e69d3d7a07608d6c38a
Use winpthreads clock_gettime implementations

Summary:
No need to reinvent the wheel - winpthreads has the appropriate posix layer in place for time functionality
and we're already using it for pthreads on windows - so just include the right headers to make sure defines are set up when using time functionality

@override-unit-failures

Test Plan: fbconfig -r folly && fbmake runtests

Reviewed By: delong.j@fb.com

FB internal diff: D1313600
folly/detail/Clock.cpp
folly/detail/Clock.h