From ee0958380c7295f53ade81ef619fa1f661f4f936 Mon Sep 17 00:00:00 2001 From: nigel <> Date: Tue, 18 Nov 2003 11:14:43 +0000 Subject: [PATCH] Compile fix for OS X (which does not define loff_t) --- BasiliskII/src/Unix/sysdeps.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BasiliskII/src/Unix/sysdeps.h b/BasiliskII/src/Unix/sysdeps.h index 83df0c97..55d31779 100644 --- a/BasiliskII/src/Unix/sysdeps.h +++ b/BasiliskII/src/Unix/sysdeps.h @@ -155,6 +155,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;