Browse Source

Use OS detection macros from Carla

pull/1503/head
Jean Pierre Cimalando 3 years ago
parent
commit
30af34da4b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      source/utils/CarlaJsfxUtils.hpp

+ 2
- 1
source/utils/CarlaJsfxUtils.hpp View File

@@ -18,6 +18,7 @@
#ifndef CARLA_JSFX_UTILS_HPP_INCLUDED
#define CARLA_JSFX_UTILS_HPP_INCLUDED

#include "CarlaDefines.h"
#include "CarlaUtils.hpp"
#include "CarlaString.hpp"
#include "CarlaBase64Utils.hpp"
@@ -94,7 +95,7 @@ public:
CarlaJsfxUnit(const water::File& rootPath, const water::File& filePath)
: fRootPath(rootPath), fFileId(filePath.getRelativePathFrom(rootPath))
{
#ifdef _WIN32
#ifdef CARLA_OS_WIN
fFileId.replaceCharacter('\\', '/');
#endif
}


Loading…
Cancel
Save