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

Comparing BasiliskII/src/Unix/timer_unix.cpp (file contents):
Revision 1.15 by gbeauche, 2005-01-30T21:42:14Z vs.
Revision 1.16 by gbeauche, 2005-02-21T22:57:03Z

# Line 228 | Line 228 | uint64 GetTicks_usec(void)
228   // Linux select() changes its timeout parameter upon return to contain
229   // the remaining time. Most other unixen leave it unchanged or undefined.
230   #define SELECT_SETS_REMAINING
231 < #elif defined(__FreeBSD__) || defined(__sun__)
231 > #elif defined(__FreeBSD__) || defined(__sun__) || (defined(__MACH__) && defined(__APPLE__))
232   #define USE_NANOSLEEP
233   #elif defined(HAVE_PTHREADS) && defined(sgi)
234   // SGI pthreads has a bug when using pthreads+signals+nanosleep,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines