155 |
|
#error "Unsupported size of pointer" |
156 |
|
#endif |
157 |
|
|
158 |
+ |
#ifndef HAVE_LOFF_T |
159 |
+ |
typedef off_t loff_t; |
160 |
+ |
#endif |
161 |
+ |
|
162 |
|
/* Time data type for Time Manager emulation */ |
163 |
|
#ifdef HAVE_CLOCK_GETTIME |
164 |
|
typedef struct timespec tm_time_t; |
186 |
|
typedef uae_u32 uaecptr; |
187 |
|
|
188 |
|
/* Alignment restrictions */ |
189 |
< |
#if defined(__i386__) || defined(__powerpc__) || defined(__m68k__) |
189 |
> |
#if defined(__i386__) || defined(__powerpc__) || defined(__m68k__) || defined(__x86_64__) |
190 |
|
# define CPU_CAN_ACCESS_UNALIGNED |
191 |
|
#endif |
192 |
|
|
239 |
|
|
240 |
|
#else /* WORDS_BIGENDIAN */ |
241 |
|
|
242 |
< |
#ifdef __i386__ |
242 |
> |
#if defined(__i386__) || defined(__x86_64__) |
243 |
|
|
244 |
|
/* Intel x86 */ |
245 |
|
#define X86_PPRO_OPT |
310 |
|
#define ENUMNAME(name) name |
311 |
|
#define write_log printf |
312 |
|
|
313 |
< |
#ifdef X86_ASSEMBLY |
313 |
> |
#if defined(X86_ASSEMBLY) || defined(X86_64_ASSEMBLY) |
314 |
|
#define ASM_SYM_FOR_FUNC(a) __asm__(a) |
315 |
|
#else |
316 |
|
#define ASM_SYM_FOR_FUNC(a) |