Browse Source

Tweak for latest DPF compat

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.4.0
falkTX 3 years ago
parent
commit
476b2e5033
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/utils/CarlaMathUtils.hpp

+ 2
- 2
source/utils/CarlaMathUtils.hpp View File

@@ -1,6 +1,6 @@
/*
* Carla math utils
* Copyright (C) 2011-2017 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2011-2021 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -285,7 +285,7 @@ void carla_multiply(float data[], const float& multiplier, const std::size_t cou
// --------------------------------------------------------------------------------------------------------------------
// Missing functions in old OSX versions.

#if defined(CARLA_OS_MAC) && ! defined(DISTRHO_OS_MAC) && ! defined(CARLA_PROPER_CPP11_SUPPORT)
#if ! defined(DISTRHO_UTILS_HPP_INCLUDED) && ! defined(CARLA_PROPER_CPP11_SUPPORT)
namespace std {
inline float fmin(float __x, float __y)
{ return __builtin_fminf(__x, __y); }


Loading…
Cancel
Save