From: Derrick Brashear Date: Fri, 25 Jul 2003 05:30:49 +0000 (+0000) Subject: STABLE12-linux-largefile-defns-20030724 X-Git-Tag: openafs-stable-1_2_10~7 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c7aa81a8a5fb20298a1078cd7126eb9051f8065d;p=packages%2Fo%2Fopenafs.git STABLE12-linux-largefile-defns-20030724 make usd library able to write large files on i386 linux (cherry picked from commit 26891bbac0e4aea5402bf44651d284194d503270) --- diff --git a/src/config/param.i386_linux24.h b/src/config/param.i386_linux24.h index b6018605e..b4a1a5125 100644 --- a/src/config/param.i386_linux24.h +++ b/src/config/param.i386_linux24.h @@ -68,6 +68,13 @@ #endif #endif /* KERNEL */ +#ifndef KERNEL +#define __USE_LARGEFILE64 1 +#if !defined off64_t +#define off64_t __off64_t +#endif +#endif + /* Machine / Operating system information */ #define SYS_NAME "i386_linux24" #define SYS_NAME_ID SYS_NAME_ID_i386_linux24