26 |
|
#endif |
27 |
|
|
28 |
|
#include "config.h" |
29 |
+ |
#include "user_strings_unix.h" |
30 |
|
|
31 |
|
#ifndef STDC_HEADERS |
32 |
|
#error "You don't have ANSI C header files." |
69 |
|
/* Is the Mac ROM write protected? */ |
70 |
|
#define ROM_IS_WRITE_PROTECTED 1 |
71 |
|
|
72 |
+ |
/* ExtFS is supported */ |
73 |
+ |
#define SUPPORTS_EXTFS 1 |
74 |
+ |
|
75 |
|
/* Data types */ |
76 |
|
typedef unsigned char uint8; |
77 |
|
typedef signed char int8; |
110 |
|
typedef struct timeval tm_time_t; |
111 |
|
#endif |
112 |
|
|
113 |
+ |
/* Offset Mac->Unix time in seconds */ |
114 |
+ |
#define TIME_OFFSET 0x7c25b080 |
115 |
+ |
|
116 |
|
/* UAE CPU data types */ |
117 |
|
#define uae_s8 int8 |
118 |
|
#define uae_u8 uint8 |
120 |
|
#define uae_u16 uint16 |
121 |
|
#define uae_s32 int32 |
122 |
|
#define uae_u32 uint32 |
123 |
+ |
#define uae_s64 int64 |
124 |
+ |
#define uae_u64 uint64 |
125 |
|
typedef uae_u32 uaecptr; |
126 |
|
|
127 |
|
/* Alignment restrictions */ |
128 |
< |
#if defined(__i386__) || defined(__powerpc__) |
128 |
> |
#if defined(__i386__) || defined(__powerpc__) || defined(__m68k__) |
129 |
|
# define CPU_CAN_ACCESS_UNALIGNED |
130 |
|
#endif |
131 |
|
|