Skip to content

Commit b513504

Browse files
authored
Enable LFS on 32-bit platforms (#153)
* required to support 64-bit filesystems (inodes) on 32-bit platforms: https://flameeyes.blog/2010/12/15/another-good-reason-to-use-64-bit-installations-large-file-support-headaches/ Bug: https://bugs.gentoo.org/878475
1 parent db53e40 commit b513504

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ AC_PROG_INSTALL
6767
LT_INIT([win32-dll])
6868
AC_PROG_LN_S
6969

70+
AC_SYS_LARGEFILE
71+
7072
# Check for GCC visibility feature
7173

7274
PCRE2_VISIBILITY

src/config.h.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,12 @@ sure both macros are undefined; an emulation function will then be used. */
428428
/* Version number of package */
429429
#undef VERSION
430430

431+
/* Number of bits in a file offset, on hosts where this is settable. */
432+
#undef _FILE_OFFSET_BITS
433+
434+
/* Define for large files, on AIX-style hosts. */
435+
#undef _LARGE_FILES
436+
431437
/* Define to empty if `const' does not conform to ANSI C. */
432438
#undef const
433439

0 commit comments

Comments
 (0)