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

Comparing BasiliskII/src/MacOSX/sysdeps.h (file contents):
Revision 1.1 by nigel, 2002-03-16T04:00:31Z vs.
Revision 1.4 by nigel, 2002-12-18T12:13:28Z

# Line 62 | Line 62
62   #endif
63  
64  
65 + #ifdef AVAILABILITYMACROS
66 + # include <AvailabilityMacros.h>
67 + #endif
68 +
69   /* Emulator and host address space are distinct */
70   #ifndef REAL_ADDRESSING
71 < #define REAL_ADDRESSING 0
71 > # define REAL_ADDRESSING 0
72   #endif
73  
74   /* Linear address translation (i.e. just an offset between Emulator & host)  */
75   #ifndef DIRECT_ADDRESSING
76 < #define DIRECT_ADDRESSING 1
76 > # ifdef MAC_OS_X_VERSION_10_2
77 > /* For some reason, compiling on 10.2 with DIRECT_ADDRESSING enabled gives an   */
78 > /* app that never writes to its screen! (i.e. it never calls most of video.cpp) */
79 > #  define DIRECT_ADDRESSING 0
80 > # else
81 > #  define DIRECT_ADDRESSING 1
82 > # endif
83   #endif
84  
85   /* Using 68k emulator */
# Line 135 | Line 145 | typedef int64 intptr;
145   #error "Unsupported size of pointer"
146   #endif
147  
148 + #ifndef HAVE_LOFF_T
149 +   typedef off_t loff_t;
150 + #endif
151 +
152   /* Time data type for Time Manager emulation */
153   #ifdef HAVE_CLOCK_GETTIME
154   typedef struct timespec tm_time_t;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines