projects
/
disktools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e709787
)
[PATCH] Use LFS for all apps
author
Jens Axboe
<axboe@suse.de>
Fri, 14 Oct 2005 07:09:29 +0000
(09:09 +0200)
committer
Jens Axboe
<axboe@suse.de>
Fri, 14 Oct 2005 07:09:29 +0000
(09:09 +0200)
Makefile
patch
|
blob
|
blame
|
history
sgioread.c
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index e6c583aa8dd542a94efe3459a9961f85cd01e287..2a4be12c2841f92f6af1d28e3cf5d15518a065d4 100644
(file)
--- 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 74a65673e41a5bde45b2106127e73214d56039c8..8670148a131dd53be6e36ed2a9f316275b88ca7a 100644
(file)
--- 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 <stdio.h>
#include <fcntl.h>
#include <stdlib.h>