Skip to content

Commit 8389614

Browse files
Alexpuxnaveen521kklazka
committed
configure: enable largefile support by default for Mingw
Largefile is supported on Windows. Co-authored-by: Naveen M K <naveen521kk@gmail.com> Co-authored-by: Алексей <alexey.pawlow@gmail.com> Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
1 parent 2418cff commit 8389614

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configure.ac

+4
Original file line numberDiff line numberDiff line change
@@ -2954,6 +2954,10 @@ dnl LFS does not work with Emscripten 3.1
29542954
AS_CASE([$ac_sys_system],
29552955
[Emscripten], [have_largefile_support="no"]
29562956
)
2957+
dnl Activate on windows platforms (32&64-bit) where off_t(4) < fpos_t(8)
2958+
AS_CASE([$ac_sys_system],
2959+
[MINGW], [have_largefile_support="yes"]
2960+
)
29572961
AS_VAR_IF([have_largefile_support], [yes], [
29582962
AC_DEFINE(HAVE_LARGEFILE_SUPPORT, 1,
29592963
[Defined to enable large file support when an off_t is bigger than a long

0 commit comments

Comments
 (0)