[PATCH] vmcore-dmesg: don't enforce largefile handling

Yegor Yefremov yegorslists at googlemail.com
Tue Jun 10 12:29:29 PDT 2014


Breaks build on !largefile toolchains.

Instead simply use whatever mode is selected by toolchain / CFLAGS.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
---
 vmcore-dmesg/vmcore-dmesg.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/vmcore-dmesg/vmcore-dmesg.c b/vmcore-dmesg/vmcore-dmesg.c
index f47ee11..9bb1cc2 100644
--- a/vmcore-dmesg/vmcore-dmesg.c
+++ b/vmcore-dmesg/vmcore-dmesg.c
@@ -1,6 +1,4 @@
 #define _XOPEN_SOURCE 600
-#define _LARGEFILE_SOURCE 1
-#define _FILE_OFFSET_BITS 64
 #include <endian.h>
 #include <byteswap.h>
 #include <stdio.h>
-- 
1.8.3.2




More information about the kexec mailing list