Compiles now on systems without definition of CLOCK_MONOTONIC.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7954
This commit is contained in:
Bart Van Assche 2008-04-28 16:26:49 +00:00
parent 0223f8f027
commit 8d32121aca

View File

@ -167,7 +167,9 @@ int main(int ac, char **av)
struct itimerspec tmr;
struct tmr_type clks[] =
{
#if defined(HAVE_CLOCK_MONOTONIC)
{ CLOCK_MONOTONIC, "CLOCK MONOTONIC" },
#endif
{ CLOCK_REALTIME, "CLOCK REALTIME" },
};