ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/sysdeps.h
(Generate patch)

Comparing BasiliskII/src/Unix/sysdeps.h (file contents):
Revision 1.2 by cebix, 1999-10-04T21:07:18Z vs.
Revision 1.7 by cebix, 1999-10-27T16:59:48Z

# Line 26 | Line 26
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."
# Line 68 | Line 69
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;
# Line 106 | Line 110 | typedef struct timespec tm_time_t;
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
# Line 113 | Line 120 | typedef struct timeval tm_time_t;
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines