Avoid a mingw64-compiler-runtime bug in gettimeofday.
This introduces a __pmtimevalNow libpcp (porting) routine and
makes use of it throughout pcp in place of direct gettimeofday
calls. On Windows, we implement a simpler, correct version of
__pmtimevalNow instead of relying on the compiler.
Avoid a mingw64-compiler-runtime bug in gettimeofday.
This introduces a __pmtimevalNow libpcp (porting) routine and
makes use of it throughout pcp in place of direct gettimeofday
calls. On Windows, we implement a simpler, correct version of
__pmtimevalNow instead of relying on the compiler.