summaryrefslogtreecommitdiff
path: root/lib/config.h.in
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-11-10 20:34:54 -0800
committerTheodore Ts'o <tytso@mit.edu>2023-02-01 11:20:40 -0500
commita22e7f16d0f4b894e8408cf21990c89b12064a25 (patch)
treeace1fc7d794b80581eed506ca8d69c0a4f08388a /lib/config.h.in
parentaf37d677e507a97f4ade39b247cf7ff26d9e0624 (diff)
downloade2fsprogs-a22e7f16d0f4b894e8408cf21990c89b12064a25.tar.gz
Add option to enable/disable largefile support
fallocate can be used to have 64bit off_t provided its compiled with _FILE_OFFSET_BITS=64 which will be added automatically when --enable-largefile is used. [ Run autoreconf to update configure and config.h.in -- TYT ] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/config.h.in')
-rw-r--r--lib/config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/config.h.in b/lib/config.h.in
index 6cf1f47d..ab38266f 100644
--- a/lib/config.h.in
+++ b/lib/config.h.in
@@ -653,7 +653,13 @@
# endif
#endif
+/* Number of bits in a file offset, on hosts where this is settable. */
+#undef _FILE_OFFSET_BITS
+
/* Define to 1 if Apple Darwin libintl workaround is needed */
#undef _INTL_REDIRECT_MACROS
+/* Define for large files, on AIX-style hosts. */
+#undef _LARGE_FILES
+
#include <dirpaths.h>