From: Khem Raj <raj.khem@gmail.com>
To: linux-erofs@lists.ozlabs.org
Cc: Khem Raj <raj.khem@gmail.com>
Subject: [PATCH 1/3] configure: use AC_SYS_LARGEFILE
Date: Thu, 8 Dec 2022 00:53:33 -0800 [thread overview]
Message-ID: <20221208085335.2884608-1-raj.khem@gmail.com> (raw)
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
next reply other threads:[~2022-12-08 8:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-08 8:53 Khem Raj [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221208085335.2884608-1-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=linux-erofs@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox