commit 9d0f953af2400c13f8a15f68e625d3d60351dd95
parent b06f52c0a5e6f4def4c98e951dead5d8ab491ed8
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 23 Sep 2013 18:23:12 +0000
only print clock if CLOCK_MONOTONIC is defined
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/spdy2http/proxy.c b/src/spdy2http/proxy.c
@@ -1174,9 +1174,11 @@ run ()
{
struct timespec ts;
+#ifdef CLOCK_MONOTONIC
if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0)
PRINT_VERBOSE2("time now %lld %lld", (unsigned long long)ts.tv_sec, (unsigned long long)ts.tv_nsec);
}
+#endif
}
while(loop);