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

Comparing BasiliskII/src/AmigaOS/sysdeps.h (file contents):
Revision 1.2 by cebix, 1999-10-12T20:00:50Z vs.
Revision 1.4 by cebix, 1999-10-19T19:28:19Z

# Line 46 | Line 46 | typedef unsigned short uint16;
46   typedef signed short int16;
47   typedef unsigned long uint32;
48   typedef signed long int32;
49 +
50 + #ifdef __GNUC__
51 + typedef unsigned long long loff_t;
52 + #endif
53 +
54 + #ifdef __SASC
55   typedef char bool;
56   #define true 1
57   #define false 0
58   typedef LONG loff_t;
59 + #endif
60  
61   // Time data type for Time Manager emulation
62   typedef struct timeval tm_time_t;
63  
64 + // Offset Mac->AmigaOS time in seconds
65 + #define TIME_OFFSET 0x8b31ef80
66 +
67   // Endianess conversion (not needed)
68   #define ntohs(x) (x)
69   #define ntohl(x) (x)
70   #define htons(x) (x)
71   #define htonl(x) (x)
72  
73 + // Some systems don't define this
74 + #ifndef AFF_68060
75 + #define AFF_68060 (1L<<7)
76 + #endif
77 +
78   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines