ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/sysdeps.h
(Generate patch)

Comparing BasiliskII/src/Unix/sysdeps.h (file contents):
Revision 1.34 by gbeauche, 2008-01-01T09:40:33Z vs.
Revision 1.35 by asvitkine, 2009-08-17T20:42:26Z

# 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines