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

Comparing SheepShaver/src/Unix/sysdeps.h (file contents):
Revision 1.40 by gbeauche, 2005-03-05T19:07:35Z vs.
Revision 1.43 by gbeauche, 2005-06-25T11:06:24Z

# Line 410 | Line 410 | typedef struct timespec tm_time_t;
410   typedef struct timeval tm_time_t;
411   #endif
412  
413 + /* Define codes for all the float formats that we know of.
414 + * Though we only handle IEEE format.  */
415 + #define UNKNOWN_FLOAT_FORMAT 0
416 + #define IEEE_FLOAT_FORMAT 1
417 + #define VAX_FLOAT_FORMAT 2
418 + #define IBM_FLOAT_FORMAT 3
419 + #define C4X_FLOAT_FORMAT 4
420 +
421   // High-precision timing
422 < #if defined(HAVE_PTHREADS) && defined(HAVE_CLOCK_NANOSLEEP)
422 > #if defined(HAVE_PTHREADS) && defined(HAVE_CLOCK_NANOSLEEP) && 0
423   #define PRECISE_TIMING 1
424   #define PRECISE_TIMING_POSIX 1
425   #endif
# Line 420 | Line 428 | typedef struct timeval tm_time_t;
428   extern uint64 GetTicks_usec(void);
429   extern void Delay_usec(uint32 usec);
430  
431 < #if defined(HAVE_PTHREADS) || ((defined(__linux__) || defined(__NetBSD__)) && defined(__powerpc__))
431 > #ifdef HAVE_PTHREADS
432   // Setup pthread attributes
433   extern void Set_pthread_attr(pthread_attr_t *attr, int priority);
434   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines