[flac-dev] Lets do a 1.3.2 release
Erik de Castro Lopo
mle+la at mega-nerd.com
Sun Jan 24 12:29:09 PST 2016
Dave Yeo wrote:
> After this the build dies with,
> util.c: In function 'benchmark_function':
> util.c:124:17: error: 'CLOCK_PROCESS_CPUTIME_ID' undeclared (first use
> in this function)
> clock_gettime (CLOCK_PROCESS_CPUTIME_ID, &start) ;
>
> Would using gettimeofday() be accurate enough?
AS a fall back yes, but not as replacement on platforms with clock_gettime().
> Perhaps simpler just to
> disable the microbench test on OS/2 as gettimeofday() would require a
> configure test and OS/2 is a minor platform?
I would accept a patch that disables the microsbenchmark on OS/2 I would
also accept one that uses gettimeofday() when clock_gettime() is not
available.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the flac-dev
mailing list