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.3 by nigel, 2002-10-31T08:52:59Z vs.
Revision 1.5 by nigel, 2003-03-25T01:42:41Z

# Line 76 | Line 76
76   # ifdef MAC_OS_X_VERSION_10_2
77   /* For some reason, compiling on 10.2 with DIRECT_ADDRESSING enabled gives an   */
78   /* app that never writes to its screen! (i.e. it never calls most of video.cpp) */
79 < #  define DIRECT_ADDRESSING 1
80 < //#  define DIRECT_ADDRESSING 0
79 > #  define DIRECT_ADDRESSING 0
80   # else
81   #  define DIRECT_ADDRESSING 1
82   # endif
# Line 146 | Line 145 | typedef int64 intptr;
145   #error "Unsupported size of pointer"
146   #endif
147  
148 + #ifndef HAVE_LOFF_T
149 +   typedef off_t loff_t;
150 + #endif
151 +
152   /* Time data type for Time Manager emulation */
153   #ifdef HAVE_CLOCK_GETTIME
154   typedef struct timespec tm_time_t;
# Line 168 | Line 171 | typedef struct timeval tm_time_t;
171   typedef uae_u32 uaecptr;
172  
173   /* Alignment restrictions */
174 < #if defined(__i386__) || defined(__powerpc__) || defined(__m68k__)
174 > #if defined(__i386__) || defined(__powerpc__) || defined(__m68k__) || defined(__x86_64__)
175   # define CPU_CAN_ACCESS_UNALIGNED
176   #endif
177  
# Line 216 | Line 219 | static inline void do_put_mem_word(uae_u
219  
220   #else /* WORDS_BIGENDIAN */
221  
222 < #ifdef __i386__
222 > #if defined(__i386__) || defined(__x86_64__)
223  
224   /* Intel x86 */
225   #define X86_PPRO_OPT
# Line 289 | Line 292 | static inline uae_u32 do_byteswap_16(uae
292   #undef USE_MAPPED_MEMORY
293   #undef CAN_MAP_MEMORY
294  
295 < #ifdef X86_ASSEMBLY
295 > #if defined(X86_ASSEMBLY) || defined(X86_64_ASSEMBLY)
296   #define ASM_SYM_FOR_FUNC(a) __asm__(a)
297   #else
298   #define ASM_SYM_FOR_FUNC(a)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines