diff options
Diffstat (limited to 'libs/backends/wavesaudio/wavesapi/MiscUtils/MinMaxUtilities.h')
-rw-r--r-- | libs/backends/wavesaudio/wavesapi/MiscUtils/MinMaxUtilities.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/backends/wavesaudio/wavesapi/MiscUtils/MinMaxUtilities.h b/libs/backends/wavesaudio/wavesapi/MiscUtils/MinMaxUtilities.h index d4dc304ed6..d8e31d4f1f 100644 --- a/libs/backends/wavesaudio/wavesapi/MiscUtils/MinMaxUtilities.h +++ b/libs/backends/wavesaudio/wavesapi/MiscUtils/MinMaxUtilities.h @@ -58,7 +58,7 @@ template<class T> inline T WUMinMax(const T &Smallest, const T &Biggest, const T #include <math.h> #ifndef __GNUC__ -#define __abs(x) abs(x) +#define __abs(x) abs(x) #define __labs(x) labs(x) #define __fabs(x) fabs(x) #endif @@ -87,8 +87,8 @@ template<class T> inline T WUMinMax(const T &Smallest, const T &Biggest, const T // log2: on Windows there's no proper definition for log2, whereas on other platform there is. #ifndef WUlog2 #if defined(PLATFORM_WINDOWS) - #define WUlog2(x) (kdOneOverLog2 * log10((x))) - #else + #define WUlog2(x) (kdOneOverLog2 * log10((x))) + #else #define WUlog2(x) log2(x) #endif #endif |