Browse Source

yet another fix

tags/1.9.4
falkTX 12 years ago
parent
commit
e5d8b27254
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      source/backend/plugin/JucePlugin.cpp

+ 17
- 0
source/backend/plugin/JucePlugin.cpp View File

@@ -20,6 +20,23 @@

#ifdef HAVE_JUCE

#if defined(CARLA_OS_MAC)
/*
* Missing functions in OSX.
*/
namespace std {
inline float
fmin(float __x, float __y)
{ return __builtin_fminf(__x, __y); }
inline float
fmax(float __x, float __y)
{ return __builtin_fmaxf(__x, __y); }
inline float
rint(float __x)
{ return __builtin_rintf(__x); }
}
#endif

#include "CarlaBackendUtils.hpp"
#include "JucePluginWindow.hpp"



Loading…
Cancel
Save