4 |
|
* |
5 |
|
* $Id$ |
6 |
|
* |
7 |
< |
* Basilisk II (C) 1997-2005 Christian Bauer |
7 |
> |
* Basilisk II (C) 1997-2008 Christian Bauer |
8 |
|
* |
9 |
|
* This program is free software; you can redistribute it and/or modify |
10 |
|
* it under the terms of the GNU General Public License as published by |
65 |
|
# endif |
66 |
|
#endif |
67 |
|
|
68 |
+ |
#if defined(__MACH__) |
69 |
+ |
#include <mach/clock.h> |
70 |
+ |
#endif |
71 |
|
|
72 |
|
/* Symbol to distinguish Nigel's Aqua port from a normal Darwin X11 build */ |
73 |
|
/* (this sysdeps.h file is currently specific to the Mac OS X Aqua port) */ |
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 |