Browse Source

Fix macOS build

Signed-off-by: falkTX <falktx@falktx.com>
pull/1961/merge
falkTX 3 months ago
parent
commit
90c4d8916c
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      source/backend/plugin/CarlaPluginAU.cpp

+ 2
- 1
source/backend/plugin/CarlaPluginAU.cpp View File

@@ -8,6 +8,7 @@
# include "CarlaBackendUtils.hpp" # include "CarlaBackendUtils.hpp"
# include "CarlaPluginUI.hpp" # include "CarlaPluginUI.hpp"
# include "CarlaMacUtils.hpp" # include "CarlaMacUtils.hpp"
# include "CarlaMathUtils.hpp"
# include <AudioToolbox/AudioUnit.h> # include <AudioToolbox/AudioUnit.h>
# include <Foundation/Foundation.h> # include <Foundation/Foundation.h>
#endif #endif
@@ -496,7 +497,7 @@ public:
if (min > max) if (min > max)
max = min; max = min;


if (carla_isEqual(min, max))
if (d_isEqual(min, max))
{ {
carla_stderr2("WARNING - Broken plugin parameter '%s': max == min", info.name); carla_stderr2("WARNING - Broken plugin parameter '%s': max == min", info.name);
max = min + 0.1f; max = min + 0.1f;


Loading…
Cancel
Save