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

Comparing BasiliskII/src/MacOSX/sysdeps.h (file contents):
Revision 1.10 by gbeauche, 2008-01-01T09:40:32Z vs.
Revision 1.11 by asvitkine, 2011-03-11T16:47:48Z

# Line 65 | Line 65
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)  */
# 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