From e60c1aa1d753c90475053cf1e6cd969d8b7c134e Mon Sep 17 00:00:00 2001 From: Alexei Svitkine Date: Wed, 11 Oct 2017 21:17:14 -0400 Subject: [PATCH] fix ss build on newer osx --- SheepShaver/src/Unix/sysdeps.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SheepShaver/src/Unix/sysdeps.h b/SheepShaver/src/Unix/sysdeps.h index 0099527b..a3cb3278 100644 --- a/SheepShaver/src/Unix/sysdeps.h +++ b/SheepShaver/src/Unix/sysdeps.h @@ -402,10 +402,10 @@ static inline int spin_trylock(spinlock_t *lock) #endif // Time data type for Time Manager emulation -#ifdef HAVE_CLOCK_GETTIME -typedef struct timespec tm_time_t; -#elif defined(__MACH__) +#if defined(__MACH__) typedef mach_timespec_t tm_time_t; +#elif defined(HAVE_CLOCK_GETTIME) +typedef struct timespec tm_time_t; #else typedef struct timeval tm_time_t; #endif