From 30af34da4b06841c9623f338478189b48c0d7a6f Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Sun, 24 Oct 2021 17:53:11 +0200 Subject: [PATCH] Use OS detection macros from Carla --- source/utils/CarlaJsfxUtils.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/utils/CarlaJsfxUtils.hpp b/source/utils/CarlaJsfxUtils.hpp index e99ec789e..4769db229 100644 --- a/source/utils/CarlaJsfxUtils.hpp +++ b/source/utils/CarlaJsfxUtils.hpp @@ -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 }