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

Comparing BasiliskII/src/BeOS/sysdeps.h (file contents):
Revision 1.10 by cebix, 2001-02-02T20:52:57Z vs.
Revision 1.12 by cebix, 2001-07-01T12:42:04Z

# Line 21 | Line 21
21   #ifndef SYSDEPS_H
22   #define SYSDEPS_H
23  
24 + #ifdef __POWERPC__
25 + #define NO_STD_NAMESPACE
26 + #endif
27 +
28   #include <assert.h>
29   #include <support/SupportDefs.h>
30   #include <support/ByteOrder.h>
# Line 69 | Line 73 | typedef off_t loff_t;
73   typedef uae_u32 uaecptr;
74   #define VAL64(a) (a ## LL)
75   #define UVAL64(a) (a ## uLL)
76 + typedef uint32 uintptr;
77 + typedef int32 intptr;
78  
79   // UAE CPU defines
80   #ifdef __i386__
# Line 91 | Line 97 | static inline void do_put_mem_word(uae_u
97   #endif
98  
99   #define X86_ASSEMBLY
100 + #define UNALIGNED_PROFITABLE
101 + #define OPTIMIZED_FLAGS
102   #define ASM_SYM_FOR_FUNC(a) __asm__(a)
103   #define REGPARAM __attribute__((regparm(3)))
104  
# Line 103 | Line 111 | static inline void do_put_mem_long(uae_u
111   static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {*a = v;}
112  
113   #undef X86_ASSEMBLY
114 + #define UNALIGNED_PROFITABLE
115 + #undef OPTIMIZED_FLAGS
116   #define ASM_SYM_FOR_FUNC(a)
117   #define REGPARAM
118   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines