aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdisk.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-05-26 11:59:19 +0000
committerEric Andersen <andersen@codepoet.org>2004-05-26 11:59:19 +0000
commit42f8883c71b908409bee7f4c77e77b9bef5d20d7 (patch)
tree0b4c4c3b138dbbae3400a997a1843039e2dca7ad /util-linux/fdisk.c
parent823b17263adfc8408f3e8596c1e1ad525702d4e0 (diff)
downloadbusybox-w32-42f8883c71b908409bee7f4c77e77b9bef5d20d7.tar.gz
busybox-w32-42f8883c71b908409bee7f4c77e77b9bef5d20d7.tar.bz2
busybox-w32-42f8883c71b908409bee7f4c77e77b9bef5d20d7.zip
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
Diffstat (limited to '')
-rw-r--r--util-linux/fdisk.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 5e7e79c65..b27a8aa09 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -15,15 +15,6 @@
15#define PROC_PARTITIONS "/proc/partitions" 15#define PROC_PARTITIONS "/proc/partitions"
16 16
17#include <features.h> 17#include <features.h>
18/* Force fdisk to transparently remap 32-bit interfaces
19 * to instead really use 64 bit interfaces, at least for
20 * glibc and uClibc... */
21#ifndef __USE_FILE_OFFSET64
22# ifdef FDISK_SUPPORT_LARGE_DISKS
23# define __USE_FILE_OFFSET64 1
24# endif
25#endif
26
27#include <sys/types.h> 18#include <sys/types.h>
28#include <sys/stat.h> /* stat */ 19#include <sys/stat.h> /* stat */
29#include <ctype.h> 20#include <ctype.h>