From 87eaf97f1452a31e847e1be0923479f41cdcd81d Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 7 Jan 2010 15:49:00 -0500 Subject: [PATCH] added the fmacros to enable support for fseeko() lseeko() with 64bit off_t --- fmacros.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fmacros.h b/fmacros.h index 7c9b91ae..986776f2 100644 --- a/fmacros.h +++ b/fmacros.h @@ -3,5 +3,7 @@ #define _BSD_SOURCE #define _XOPEN_SOURCE +#define _LARGEFILE_SOURCE +#define _FILE_OFFSET_BITS 64 #endif -- 2.47.2