meson: define _FILE_OFFSET_BITS=64 for MinGW. See #14767e6fb333f7a5f50d73a354790d9cbaf19b762724228/head
commit7e6fb333f7a5f50d73a354790d9cbaf19b762724
authorChristoph Reiter <reiter.christoph@gmail.com>
Sun, 5 Aug 2018 19:56:38 +0000 (5 21:56 +0200)
committerChristoph Reiter <reiter.christoph@gmail.com>
Sun, 5 Aug 2018 20:04:17 +0000 (5 22:04 +0200)
tree7cb7226e36e7ba584c2d5a5e0e1f56d7cb8ab0f2
parent516101c7023af25083c385b91a1ca7dc635c15a6
meson: define _FILE_OFFSET_BITS=64 for MinGW. See #1476

The autotools build set it by default and we use off_t in various places,
even on Windows. Also set it with the meson build to avoid any regressions.

Ideally we shouldn't use off_t and use 64bit capable API on Windows instead, so
we get large file support with MSVC as well.
meson.build