--- BasiliskII/src/Unix/sysdeps.h 2002/09/16 14:48:53 1.24 +++ BasiliskII/src/Unix/sysdeps.h 2003/11/18 11:14:43 1.27 @@ -155,6 +155,10 @@ typedef int64 intptr; #error "Unsupported size of pointer" #endif +#ifndef HAVE_LOFF_T + typedef off_t loff_t; +#endif + /* Time data type for Time Manager emulation */ #ifdef HAVE_CLOCK_GETTIME typedef struct timespec tm_time_t; @@ -182,7 +186,7 @@ typedef struct timeval tm_time_t; typedef uae_u32 uaecptr; /* Alignment restrictions */ -#if defined(__i386__) || defined(__powerpc__) || defined(__m68k__) +#if defined(__i386__) || defined(__powerpc__) || defined(__m68k__) || defined(__x86_64__) # define CPU_CAN_ACCESS_UNALIGNED #endif @@ -235,7 +239,7 @@ static inline void do_put_mem_word(uae_u #else /* WORDS_BIGENDIAN */ -#ifdef __i386__ +#if defined(__i386__) || defined(__x86_64__) /* Intel x86 */ #define X86_PPRO_OPT @@ -306,7 +310,7 @@ static inline uae_u32 do_byteswap_16(uae #define ENUMNAME(name) name #define write_log printf -#ifdef X86_ASSEMBLY +#if defined(X86_ASSEMBLY) || defined(X86_64_ASSEMBLY) #define ASM_SYM_FOR_FUNC(a) __asm__(a) #else #define ASM_SYM_FOR_FUNC(a)