From 75e3b116a207c01e312a6fe7af435262915fe681 Mon Sep 17 00:00:00 2001 From: nigel <> Date: Wed, 18 Dec 2002 12:13:28 +0000 Subject: [PATCH] Corrected 10.2 problem, add 10.1 compile fix for newer configure.in --- BasiliskII/src/MacOSX/sysdeps.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/BasiliskII/src/MacOSX/sysdeps.h b/BasiliskII/src/MacOSX/sysdeps.h index a37695cc..24ddcb3f 100644 --- a/BasiliskII/src/MacOSX/sysdeps.h +++ b/BasiliskII/src/MacOSX/sysdeps.h @@ -76,8 +76,7 @@ # ifdef MAC_OS_X_VERSION_10_2 /* For some reason, compiling on 10.2 with DIRECT_ADDRESSING enabled gives an */ /* app that never writes to its screen! (i.e. it never calls most of video.cpp) */ -# define DIRECT_ADDRESSING 1 -//# define DIRECT_ADDRESSING 0 +# define DIRECT_ADDRESSING 0 # else # define DIRECT_ADDRESSING 1 # endif @@ -146,6 +145,10 @@ typedef int64 intptr; #error "Unsupported size of pointer" #endif +#ifndef HAVE_LOFF_T + typedef off_t loff_t; +#endif + /* Time data type for Time Manager emulation */ #ifdef HAVE_CLOCK_GETTIME typedef struct timespec tm_time_t;