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.1 by cebix, 1999-10-03T14:16:25Z vs.
Revision 1.5 by cebix, 1999-10-19T17:41:38Z

# 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."
33   #endif
34  
35 < #include <sys/types.h>
35 > #ifdef HAVE_UNISTD_H
36 > # include <sys/types.h>
37 > # include <unistd.h>
38 > #endif
39 >
40   #include <netinet/in.h>
41   #include <assert.h>
42   #include <stdio.h>
# Line 39 | Line 44
44   #include <string.h>
45   #include <pthread.h>
46  
42 #ifdef HAVE_UNISTD_H
43 # include <unistd.h>
44 #endif
45
47   #ifdef HAVE_FCNTL_H
48   # include <fcntl.h>
49   #endif
# Line 106 | Line 107 | typedef struct timespec tm_time_t;
107   typedef struct timeval tm_time_t;
108   #endif
109  
110 + /* Offset Mac->Unix time in seconds */
111 + #define TIME_OFFSET 0x7c25b080
112 +
113   /* UAE CPU data types */
114   #define uae_s8 int8
115   #define uae_u8 uint8
# Line 116 | Line 120 | typedef struct timeval tm_time_t;
120   typedef uae_u32 uaecptr;
121  
122   /* Alignment restrictions */
123 < #if defined(__i386__) || defined(__powerpc__)
123 > #if defined(__i386__) || defined(__powerpc__) || defined(__m68k__)
124   # define CPU_CAN_ACCESS_UNALIGNED
125   #endif
126  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines