aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdisk.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-05-26 11:59:19 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-05-26 11:59:19 +0000
commit1a7966fca99d6dbb5b166b5ac8b8c5e7a17f27d2 (patch)
tree0b4c4c3b138dbbae3400a997a1843039e2dca7ad /util-linux/fdisk.c
parent65443baf64beb61b7d5160c4d95466200bca34d5 (diff)
downloadbusybox-w32-1a7966fca99d6dbb5b166b5ac8b8c5e7a17f27d2.tar.gz
busybox-w32-1a7966fca99d6dbb5b166b5ac8b8c5e7a17f27d2.tar.bz2
busybox-w32-1a7966fca99d6dbb5b166b5ac8b8c5e7a17f27d2.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 git-svn-id: svn://busybox.net/trunk/busybox@8877 69ca8d6d-28ef-0310-b511-8ec308f3f277
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>