From: Henry M. Wu Date: Thu, 27 Feb 1992 18:41:09 +0000 (+0000) Subject: Added explicit typedef for off_t; Zortech C for DOS needs it. X-Git-Tag: 20090517-FFI~9644 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=3ea96e6f79e961bd92f61c8439f6c9fef4c0d3c5;p=mit-scheme.git Added explicit typedef for off_t; Zortech C for DOS needs it. --- diff --git a/v7/src/microcode/posixtyp.h b/v7/src/microcode/posixtyp.h index 9604ee660..63290b059 100644 --- a/v7/src/microcode/posixtyp.h +++ b/v7/src/microcode/posixtyp.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/posixtyp.h,v 1.4 1991/09/25 20:37:24 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/posixtyp.h,v 1.5 1992/02/27 18:41:09 mhwu Exp $ Copyright (c) 1990-91 Massachusetts Institute of Technology @@ -50,11 +50,13 @@ MIT in each case. */ #define _MODE_T #define _NLINK_T #define _SIZE_T +#define _OFF_T #endif #ifdef _BSD #define _UID_T #define _SIZE_T +#define _OFF_T #endif #if defined(_SUNOS4) && defined(__sys_stdtypes_h) @@ -64,6 +66,7 @@ MIT in each case. */ #define _CLOCK_T #define _TIME_T #define _SIZE_T +#define _OFF_T #define _CC_T #endif @@ -71,6 +74,7 @@ MIT in each case. */ #define _MODE_T #define _NLINK_T #define _PID_T +#define _OFF_T #endif #endif @@ -118,6 +122,11 @@ typedef long time_t; typedef unsigned int size_t; #endif +#ifndef _OFF_T +#define _OFF_T +typedef unsigned int off_t; +#endif + #ifndef _CC_T #define _CC_T typedef unsigned char cc_t;