From 546d134bc28ce20a5c16c3326d158caf6823eae8 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 12 Feb 2014 12:25:12 +0000 Subject: [PATCH] Misc --- source/utils/CarlaMathUtils.hpp | 12 ++++++------ source/utils/CarlaString.hpp | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/utils/CarlaMathUtils.hpp b/source/utils/CarlaMathUtils.hpp index 59c865405..0155f798b 100644 --- a/source/utils/CarlaMathUtils.hpp +++ b/source/utils/CarlaMathUtils.hpp @@ -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 diff --git a/source/utils/CarlaString.hpp b/source/utils/CarlaString.hpp index ffe6e3c72..650b2677a 100644 --- a/source/utils/CarlaString.hpp +++ b/source/utils/CarlaString.hpp @@ -22,7 +22,7 @@ #ifdef CARLA_OS_HAIKU namespace std { - using ::snprintf; +using ::snprintf; } #endif