summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2009-06-29 07:22:56 +0000
committerroot <root>2009-06-29 07:22:56 +0000
commit036e7b2ac526164a4e00bf8e74084ea62d1ffe9c (patch)
tree2b2e10a2dac7513f7ea441c789ca4690a9867e37 /ev.c
parent3a5da4a6dfdc021c6050f99d653013ed1cd69348 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index 03fd014..5d86f37 100644
--- a/ev.c
+++ b/ev.c
@@ -566,6 +566,7 @@ typedef struct
/*****************************************************************************/
+#ifndef EV_HAVE_EV_TIME
ev_tstamp
ev_time (void)
{
@@ -582,6 +583,7 @@ ev_time (void)
gettimeofday (&tv, 0);
return tv.tv_sec + tv.tv_usec * 1e-6;
}
+#endif
inline_size ev_tstamp
get_clock (void)