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.9 by gbeauche, 2005-01-30T21:42:13Z vs.
Revision 1.11 by asvitkine, 2011-03-11T16:47:48Z

# Line 4 | Line 4
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
# 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