Browse Source

64bit stat calls are linux only

tags/1.9.8
falkTX 7 years ago
parent
commit
77011fbad3
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      source/modules/water/files/File.cpp

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

@@ -1196,12 +1196,12 @@ private:
//=====================================================================================================================
namespace
{
#ifdef CARLA_OS_MAC
typedef struct stat water_statStruct;
#define WATER_STAT stat
#else
#ifdef CARLA_OS_LINUX
typedef struct stat64 water_statStruct;
#define WATER_STAT stat64
#else
typedef struct stat water_statStruct;
#define WATER_STAT stat
#endif
bool water_stat (const String& fileName, water_statStruct& info)


Loading…
Cancel
Save