Browse Source

Misc

tags/1.9.4
falkTX 10 years ago
parent
commit
546d134bc2
2 changed files with 7 additions and 7 deletions
  1. +6
    -6
      source/utils/CarlaMathUtils.hpp
  2. +1
    -1
      source/utils/CarlaString.hpp

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

@@ -173,14 +173,14 @@ void carla_copyFloat(float* const dataDst, float* const dataSrc, const size_t nu
*/
namespace std {
inline float
fmin(float __x, float __y)
{ return __builtin_fminf(__x, __y); }
fmin(float __x, float __y)
{ return __builtin_fminf(__x, __y); }
inline float
fmax(float __x, float __y)
{ return __builtin_fmaxf(__x, __y); }
fmax(float __x, float __y)
{ return __builtin_fmaxf(__x, __y); }
inline float
rint(float __x)
{ return __builtin_rintf(__x); }
rint(float __x)
{ return __builtin_rintf(__x); }
}
#endif



+ 1
- 1
source/utils/CarlaString.hpp View File

@@ -22,7 +22,7 @@

#ifdef CARLA_OS_HAIKU
namespace std {
using ::snprintf;
using ::snprintf;
}
#endif



Loading…
Cancel
Save