--- BasiliskII/src/Unix/sysdeps.h 1999/10/03 14:16:25 1.1 +++ BasiliskII/src/Unix/sysdeps.h 1999/10/21 22:40:03 1.6 @@ -26,12 +26,17 @@ #endif #include "config.h" +#include "user_strings_unix.h" #ifndef STDC_HEADERS #error "You don't have ANSI C header files." #endif -#include +#ifdef HAVE_UNISTD_H +# include +# include +#endif + #include #include #include @@ -39,10 +44,6 @@ #include #include -#ifdef HAVE_UNISTD_H -# include -#endif - #ifdef HAVE_FCNTL_H # include #endif @@ -68,6 +69,9 @@ /* Is the Mac ROM write protected? */ #define ROM_IS_WRITE_PROTECTED 1 +/* ExtFS is supported */ +#define SUPPORTS_EXTFS 1 + /* Data types */ typedef unsigned char uint8; typedef signed char int8; @@ -106,6 +110,9 @@ typedef struct timespec tm_time_t; typedef struct timeval tm_time_t; #endif +/* Offset Mac->Unix time in seconds */ +#define TIME_OFFSET 0x7c25b080 + /* UAE CPU data types */ #define uae_s8 int8 #define uae_u8 uint8 @@ -116,7 +123,7 @@ typedef struct timeval tm_time_t; typedef uae_u32 uaecptr; /* Alignment restrictions */ -#if defined(__i386__) || defined(__powerpc__) +#if defined(__i386__) || defined(__powerpc__) || defined(__m68k__) # define CPU_CAN_ACCESS_UNALIGNED #endif