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 |
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; |
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 |
|
|
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 |
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) |