# | Line 62 | Line 62 | |
---|---|---|
62 | # endif | |
63 | #endif | |
64 | ||
65 | + | #if defined(__MACH__) |
66 | + | #include <mach/clock.h> |
67 | + | #endif |
68 | ||
69 | #ifdef ENABLE_NATIVE_M68K | |
70 | ||
# | Line 178 | Line 181 | typedef char * caddr_t; | |
181 | /* Time data type for Time Manager emulation */ | |
182 | #ifdef HAVE_CLOCK_GETTIME | |
183 | typedef struct timespec tm_time_t; | |
184 | + | #elif defined(__MACH__) |
185 | + | typedef mach_timespec_t tm_time_t; |
186 | #else | |
187 | typedef struct timeval tm_time_t; | |
188 | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |