Browse Source

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>
pull/1805/head
Violet Purcell Filipe Coelho <falktx@falktx.com> 1 year ago
parent
commit
9753cb4ebb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/modules/water/files/File.cpp

+ 1
- 1
source/modules/water/files/File.cpp View File

@@ -1265,7 +1265,7 @@ private:
//=====================================================================================================================
namespace
{
#ifdef CARLA_OS_LINUX
#ifdef __GLIBC__
typedef struct stat64 water_statStruct;
#define WATER_STAT stat64
#else


Loading…
Cancel
Save