diff options
Diffstat (limited to 'mach.c')
-rw-r--r-- | mach.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 | ||