Skip to content

Commit 7e18010

Browse files
Alexpuxnaveen521kklazka
committed
configure: enable largefile support by default for Mingw
Largefile is supported on Windows. Co-authored-by: Naveen M K <[email protected]> Co-authored-by: Алексей <[email protected]> Co-authored-by: Christoph Reiter <[email protected]>
1 parent 75adb15 commit 7e18010

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2950,6 +2950,10 @@ dnl LFS does not work with Emscripten 3.1
29502950
AS_CASE([$ac_sys_system],
29512951
[Emscripten], [have_largefile_support="no"]
29522952
)
2953+
dnl Activate on windows platforms (32&64-bit) where off_t(4) < fpos_t(8)
2954+
AS_CASE([$ac_sys_system],
2955+
[MINGW], [have_largefile_support="yes"]
2956+
)
29532957
AS_VAR_IF([have_largefile_support], [yes], [
29542958
AC_DEFINE(HAVE_LARGEFILE_SUPPORT, 1,
29552959
[Defined to enable large file support when an off_t is bigger than a long

0 commit comments

Comments
 (0)