From a60ae1ae9339cf257dd3809e13ea0015666eaeeb Mon Sep 17 00:00:00 2001 From: Vysheng Date: Wed, 3 Sep 2014 19:15:39 +0400 Subject: [PATCH] Fixed CE on MACH --- tools.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools.c b/tools.c index 286f695..bc96684 100644 --- a/tools.c +++ b/tools.c @@ -42,6 +42,11 @@ #include #endif +#ifdef __MACH__ +#define CLOCK_REALTIME 0 +#define CLOCK_MONOTONIC 1 +#endif + #define RES_PRE 8 #define RES_AFTER 8 #define MAX_BLOCKS 1000000