All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] configure: use AC_SYS_LARGEFILE
@ 2022-12-08  8:53 Khem Raj
  2022-12-08  8:53 ` [PATCH 2/3] erofs_fs.h: Make LFS mandatory for all usecases Khem Raj
  2022-12-08  8:53 ` [PATCH 3/3] erosfs: replace [l]stat64 by equivalent [l]stat Khem Raj
  0 siblings, 2 replies; 9+ messages in thread
From: Khem Raj @ 2022-12-08  8:53 UTC (permalink / raw)
  To: linux-erofs; +Cc: Khem Raj

The autoconf macro AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS=64
where necessary to ensure that off_t and all interfaces using off_t
are 64bit, even on 32bit systems.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index a736ff0..b880bb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,8 @@ AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR(config)
 AM_INIT_AUTOMAKE([foreign -Wall])
 
+AC_SYS_LARGEFILE
+
 # Checks for programs.
 AM_PROG_AR
 AC_PROG_CC
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-12-15  5:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-08  8:53 [PATCH 1/3] configure: use AC_SYS_LARGEFILE Khem Raj
2022-12-08  8:53 ` [PATCH 2/3] erofs_fs.h: Make LFS mandatory for all usecases Khem Raj
2022-12-08 14:18   ` Gao Xiang
2022-12-10  2:20     ` Khem Raj
2022-12-10 15:03       ` Gao Xiang
2022-12-10 19:49         ` Khem Raj
2022-12-15  4:12           ` Gao Xiang
2022-12-15  5:26             ` Khem Raj
2022-12-08  8:53 ` [PATCH 3/3] erosfs: replace [l]stat64 by equivalent [l]stat Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.