X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=compat%2Finclude%2Fcompatlfs.h;h=b5cb0a780a5de2e24996cc95d65698a19a7794a5;hp=8cd0f964a1a8509bcc17905ed6ea1ec4bf27bef0;hb=26ce8fc8f42b8cdd92e9eaadae48be256813b001;hpb=11856e771fadee7ddb9b5a613c91f562bf363da7 diff --git a/compat/include/compatlfs.h b/compat/include/compatlfs.h index 8cd0f96..b5cb0a7 100644 --- a/compat/include/compatlfs.h +++ b/compat/include/compatlfs.h @@ -3,7 +3,7 @@ * dump and restore backup suit * Stelian Pop - AlcĂ´ve , 2000-2002 * - * $Id: compatlfs.h,v 1.2 2002/01/16 09:32:14 stelian Exp $ + * $Id: compatlfs.h,v 1.6 2005/07/07 08:47:16 stelian Exp $ */ /*- @@ -18,11 +18,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -48,18 +44,28 @@ #define _LARGEFILE64_SOURCE #define OPEN open64 +#define FOPEN fopen64 #define LSEEK lseek64 #define STAT stat64 +#define FSTAT fstat64 #define LSTAT lstat64 #define FTRUNCATE ftruncate64 +#define OFF_T __off64_t +#define MKSTEMP mkstemp64 +#define FTELL ftello64 #else #define OPEN open +#define FOPEN fopen #define LSEEK lseek #define STAT stat +#define FSTAT fstat #define LSTAT lstat #define FTRUNCATE ftruncate +#define OFF_T off_t +#define MKSTEMP mkstemp +#define FTELL ftell #endif /* USE_LFS */