|
From: <sv...@va...> - 2008-04-28 16:26:59
|
Author: bart
Date: 2008-04-28 17:26:49 +0100 (Mon, 28 Apr 2008)
New Revision: 7954
Log:
Compiles now on systems without definition of CLOCK_MONOTONIC.
Modified:
trunk/memcheck/tests/linux-timerfd-syscall.c
Modified: trunk/memcheck/tests/linux-timerfd-syscall.c
===================================================================
--- trunk/memcheck/tests/linux-timerfd-syscall.c 2008-04-28 16:22:53 UTC (rev 7953)
+++ trunk/memcheck/tests/linux-timerfd-syscall.c 2008-04-28 16:26:49 UTC (rev 7954)
@@ -167,7 +167,9 @@
struct itimerspec tmr;
struct tmr_type clks[] =
{
+#if defined(HAVE_CLOCK_MONOTONIC)
{ CLOCK_MONOTONIC, "CLOCK MONOTONIC" },
+#endif
{ CLOCK_REALTIME, "CLOCK REALTIME" },
};
|