OSDN Git Service

Oops. Turns out I broke statvfs() and fstatvfs() back in February,
authorEric Andersen <andersen@codepoet.org>
Tue, 3 Sep 2002 21:58:19 +0000 (21:58 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 3 Sep 2002 21:58:19 +0000 (21:58 -0000)
when I accidentally changed them unconditionally into the 64 bit
versions...  Oops.
 -Erik

libc/misc/statfs/fstatvfs.c
libc/misc/statfs/statvfs.c

index 84f68ae..5e08f51 100644 (file)
 
 #include <features.h>
 
-#ifdef __UCLIBC_HAVE_LFS__
-#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 
-#undef _FILE_OFFSET_BITS
-#define        _FILE_OFFSET_BITS   64
-#endif
-#ifndef __USE_FILE_OFFSET64
-# define __USE_FILE_OFFSET64   1
-#endif
-#ifndef __USE_LARGEFILE64
-# define __USE_LARGEFILE64     1
-#endif
-#endif
-
 #define __USE_GNU
 #include <errno.h>
 #include <mntent.h>
index 1e3ec0a..02a95fc 100644 (file)
 
 #include <features.h>
 
-#ifdef __UCLIBC_HAVE_LFS__
-#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 
-#undef _FILE_OFFSET_BITS
-#define        _FILE_OFFSET_BITS   64
-#endif
-#ifndef __USE_FILE_OFFSET64
-# define __USE_FILE_OFFSET64   1
-#endif
-#ifndef __USE_LARGEFILE64
-# define __USE_LARGEFILE64     1
-#endif
-#endif
-
 #define __USE_GNU
 #include <errno.h>
 #include <mntent.h>