Fix build with musl libc 1.2.4
commit9753cb4ebbd4d7ee12b4cb8c5d3c48b940d3d556
authorViolet Purcell <vimproved@inventati.org>
Tue, 5 Sep 2023 15:29:24 +0000 (5 11:29 -0400)
committerFilipe Coelho <falktx@falktx.com>
Sat, 30 Sep 2023 09:33:14 +0000 (30 10:33 +0100)
treee1b656f49ef980548decb4836a9d3b236b6bc5a9
parent8e79c112914c7068d95dd48cabb60a223a9356d6
Fix build with musl libc 1.2.4

Musl 1.2.4 gated the LFS64 compatibility shims behind the
_LARGEFILE64_SOURCE macro, and they will be removed entirely in musl
1.2.5. Use stat64 only when __GLIBC__ is defined.

Signed-off-by: Violet Purcell <vimproved@inventati.org>
source/modules/water/files/File.cpp