--- BasiliskII/src/Unix/sysdeps.h 1999/10/27 16:59:48 1.7 +++ BasiliskII/src/Unix/sysdeps.h 2000/04/10 18:53:08 1.10 @@ -1,7 +1,7 @@ /* * sysdeps.h - System dependent definitions for Unix * - * Basilisk II (C) 1997-1999 Christian Bauer + * Basilisk II (C) 1997-2000 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -96,9 +96,13 @@ typedef long int32; #if SIZEOF_LONG == 8 typedef unsigned long uint64; typedef long int64; +#define VAL64(a) (a ## l) +#define UVAL64(a) (a ## ul) #elif SIZEOF_LONG_LONG == 8 typedef unsigned long long uint64; typedef long long int64; +#define VAL64(a) (a ## LL) +#define UVAL64(a) (a ## uLL) #else #error "No 8 byte type, you lose." #endif @@ -215,15 +219,22 @@ static inline void do_put_mem_word(uae_u #define call_mem_put_func(func, addr, v) ((*func)(addr, v)) #define __inline__ inline #define CPU_EMU_SIZE 0 -#undef USE_MAPPED_MEMORY -#undef CAN_MAP_MEMORY #undef NO_INLINE_MEMORY_ACCESS #undef MD_HAVE_MEM_1_FUNCS -#undef USE_COMPILER #define ENUMDECL typedef enum #define ENUMNAME(name) name #define write_log printf +#ifdef USE_COMPILER +#define USE_MAPPED_MEMORY +#define CAN_MAP_MEMORY +#define NO_EXCEPTION_3 +#define NO_PREFETCH_BUFFER +#else +#undef USE_MAPPED_MEMORY +#undef CAN_MAP_MEMORY +#endif + #ifdef X86_ASSEMBLY #define ASM_SYM_FOR_FUNC(a) __asm__(a) #else