39 |
|
// Is the Mac ROM write protected? |
40 |
|
#define ROM_IS_WRITE_PROTECTED 0 |
41 |
|
|
42 |
+ |
// ExtFS is supported |
43 |
+ |
#define SUPPORTS_EXTFS 1 |
44 |
+ |
|
45 |
|
// Data types |
46 |
|
typedef unsigned char uint8; |
47 |
|
typedef signed char int8; |
49 |
|
typedef signed short int16; |
50 |
|
typedef unsigned long uint32; |
51 |
|
typedef signed long int32; |
52 |
+ |
|
53 |
+ |
#ifdef __GNUC__ |
54 |
+ |
typedef unsigned long long loff_t; |
55 |
+ |
#endif |
56 |
+ |
|
57 |
+ |
#ifdef __SASC |
58 |
|
typedef char bool; |
59 |
|
#define true 1 |
60 |
|
#define false 0 |
61 |
|
typedef LONG loff_t; |
62 |
+ |
#endif |
63 |
|
|
64 |
|
// Time data type for Time Manager emulation |
65 |
|
typedef struct timeval tm_time_t; |
73 |
|
#define htons(x) (x) |
74 |
|
#define htonl(x) (x) |
75 |
|
|
76 |
+ |
// Some systems don't define this |
77 |
+ |
#ifndef AFF_68060 |
78 |
+ |
#define AFF_68060 (1L<<7) |
79 |
+ |
#endif |
80 |
+ |
|
81 |
|
#endif |