ソースを参照

Oops. Turns out I broke statvfs() and fstatvfs() back in February,
when I accidentally changed them unconditionally into the 64 bit
versions... Oops.
-Erik

Eric Andersen 22 年 前
コミット
1e57a2785a
2 ファイル変更0 行追加26 行削除
  1. 0 13
      libc/misc/statfs/fstatvfs.c
  2. 0 13
      libc/misc/statfs/statvfs.c

+ 0 - 13
libc/misc/statfs/fstatvfs.c

@@ -19,19 +19,6 @@
 
 #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>

+ 0 - 13
libc/misc/statfs/statvfs.c

@@ -19,19 +19,6 @@
 
 #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>