mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-29 14:49:44 +00:00
fix ss build on newer osx
This commit is contained in:
parent
6bb9d00184
commit
e60c1aa1d7
@ -402,10 +402,10 @@ static inline int spin_trylock(spinlock_t *lock)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Time data type for Time Manager emulation
|
// Time data type for Time Manager emulation
|
||||||
#ifdef HAVE_CLOCK_GETTIME
|
#if defined(__MACH__)
|
||||||
typedef struct timespec tm_time_t;
|
|
||||||
#elif defined(__MACH__)
|
|
||||||
typedef mach_timespec_t tm_time_t;
|
typedef mach_timespec_t tm_time_t;
|
||||||
|
#elif defined(HAVE_CLOCK_GETTIME)
|
||||||
|
typedef struct timespec tm_time_t;
|
||||||
#else
|
#else
|
||||||
typedef struct timeval tm_time_t;
|
typedef struct timeval tm_time_t;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user