Per suggestion from Bastian Blank, be less evil when we force fdisk to

transparently remap 32-bit interfaces to actually use 64 bit interfaces.
 -Erik
This commit is contained in:
Eric Andersen
2004-05-26 11:59:19 +00:00
parent 823b17263a
commit 42f8883c71
2 changed files with 11 additions and 9 deletions

View File

@ -15,15 +15,6 @@
#define PROC_PARTITIONS "/proc/partitions"
#include <features.h>
/* Force fdisk to transparently remap 32-bit interfaces
* to instead really use 64 bit interfaces, at least for
* glibc and uClibc... */
#ifndef __USE_FILE_OFFSET64
# ifdef FDISK_SUPPORT_LARGE_DISKS
# define __USE_FILE_OFFSET64 1
# endif
#endif
#include <sys/types.h>
#include <sys/stat.h> /* stat */
#include <ctype.h>