From: Jens Axboe Date: Fri, 14 Oct 2005 07:09:29 +0000 (+0200) Subject: [PATCH] Use LFS for all apps X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2cae3c4d643f5dd7081fa9ed20020bb1f55cd57a;p=disktools.git [PATCH] Use LFS for all apps --- diff --git a/Makefile b/Makefile index e6c583a..2a4be12 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -Wall -O2 -g -D_GNU_SOURCE +CFLAGS = -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 PROGS = dops fio sgioread all: $(PROGS) diff --git a/sgioread.c b/sgioread.c index 74a6567..8670148 100644 --- a/sgioread.c +++ b/sgioread.c @@ -1,11 +1,6 @@ /* * small utility to read from atapi and scsi devices */ -#define _FILE_OFFSET_BITS 64 -#define _LARGEFILE_SOURCE -#define _LARGEFILE_SOURCE -#define _LARGEFILE64_SOURCE - #include #include #include