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.23 by gbeauche, 2004-01-26T13:52:31Z vs.
Revision 1.26 by gbeauche, 2004-05-11T20:53:23Z

# Line 44 | Line 44
44   #include <string.h>
45   #include <signal.h>
46  
47 + #ifdef HAVE_PTHREADS
48 + # include <pthread.h>
49 + #endif
50 +
51   #ifdef HAVE_FCNTL_H
52   # include <fcntl.h>
53   #endif
# Line 84 | Line 88
88   #define PPC_PROFILE_COMPILE_TIME 0
89   #define PPC_PROFILE_GENERIC_CALLS 0
90   #define KPX_MAX_CPUS 1
91 + // direct block chaining is only tested on PPC right now
92 + #if defined(__powerpc__)
93 + #define DYNGEN_DIRECT_BLOCK_CHAINING 1
94 + #endif
95   #else
96   // Mac ROM is write protected
97   #define ROM_IS_WRITE_PROTECTED 1
# Line 356 | Line 364 | typedef struct timeval tm_time_t;
364   extern uint64 GetTicks_usec(void);
365   extern void Delay_usec(uint32 usec);
366  
367 + #if defined(HAVE_PTHREADS) || (defined(__linux__) && defined(__powerpc__))
368   // Setup pthread attributes
369   extern void Set_pthread_attr(pthread_attr_t *attr, int priority);
370 + #endif
371  
372   // Various definitions
373   typedef struct rgb_color {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines