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.4 by cebix, 1999-10-18T11:44:20Z

# 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 116 | Line 117 | typedef struct timeval tm_time_t;
117   typedef uae_u32 uaecptr;
118  
119   /* Alignment restrictions */
120 < #if defined(__i386__) || defined(__powerpc__)
120 > #if defined(__i386__) || defined(__powerpc__) || defined(__m68k__)
121   # define CPU_CAN_ACCESS_UNALIGNED
122   #endif
123  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines