--- BasiliskII/src/AmigaOS/sysdeps.h 1999/10/19 17:41:23 1.3 +++ BasiliskII/src/AmigaOS/sysdeps.h 1999/10/21 22:39:59 1.5 @@ -39,6 +39,9 @@ // Is the Mac ROM write protected? #define ROM_IS_WRITE_PROTECTED 0 +// ExtFS is supported +#define SUPPORTS_EXTFS 1 + // Data types typedef unsigned char uint8; typedef signed char int8; @@ -46,10 +49,17 @@ typedef unsigned short uint16; typedef signed short int16; typedef unsigned long uint32; typedef signed long int32; + +#ifdef __GNUC__ +typedef unsigned long long loff_t; +#endif + +#ifdef __SASC typedef char bool; #define true 1 #define false 0 typedef LONG loff_t; +#endif // Time data type for Time Manager emulation typedef struct timeval tm_time_t; @@ -63,4 +73,9 @@ typedef struct timeval tm_time_t; #define htons(x) (x) #define htonl(x) (x) +// Some systems don't define this +#ifndef AFF_68060 +#define AFF_68060 (1L<<7) +#endif + #endif