Linux-EROFS Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [[PATCH v2 1/3] configure: use AC_SYS_LARGEFILE
@ 2022-12-10  2:22 Khem Raj
  2022-12-10  2:22 ` [[PATCH v2 2/3] includes: Make LFS mandatory for all usecases Khem Raj
  2022-12-10  2:22 ` [[PATCH v2 3/3] erofs: replace [l]stat64 by equivalent [l]stat Khem Raj
  0 siblings, 2 replies; 3+ messages in thread
From: Khem Raj @ 2022-12-10  2:22 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] 3+ messages in thread

end of thread, other threads:[~2022-12-10  2:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-10  2:22 [[PATCH v2 1/3] configure: use AC_SYS_LARGEFILE Khem Raj
2022-12-10  2:22 ` [[PATCH v2 2/3] includes: Make LFS mandatory for all usecases Khem Raj
2022-12-10  2:22 ` [[PATCH v2 3/3] erofs: replace [l]stat64 by equivalent [l]stat Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox