mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-20 00:31:28 +00:00
[Joseph Oswald]
Fix MACH timer header
This commit is contained in:
parent
ae1ef406fe
commit
85ca596560
@ -65,6 +65,9 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(__MACH__)
|
||||
#include <mach/clock.h>
|
||||
#endif
|
||||
|
||||
/* Symbol to distinguish Nigel's Aqua port from a normal Darwin X11 build */
|
||||
/* (this sysdeps.h file is currently specific to the Mac OS X Aqua port) */
|
||||
@ -178,6 +181,8 @@ typedef char * caddr_t;
|
||||
/* Time data type for Time Manager emulation */
|
||||
#ifdef HAVE_CLOCK_GETTIME
|
||||
typedef struct timespec tm_time_t;
|
||||
#elif defined(__MACH__)
|
||||
typedef mach_timespec_t tm_time_t;
|
||||
#else
|
||||
typedef struct timeval tm_time_t;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user