summaryrefslogtreecommitdiff
path: root/mach.c
diff options
context:
space:
mode:
Diffstat (limited to 'mach.c')
-rw-r--r--mach.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mach.c b/mach.c
index 35ac3a9..a9095f6 100644
--- a/mach.c
+++ b/mach.c
@@ -1,3 +1,4 @@
1#ifdef __MACH__
1#include "mach.h" 2#include "mach.h"
2 3
3/* there is no clock_gettime on MacOS platform */ 4/* there is no clock_gettime on MacOS platform */
@@ -18,3 +19,4 @@ int clock_gettime(int clk_id, struct timespec *t)
18 19
19 return 0; 20 return 0;
20} 21}
22#endif