diff --git a/libs/voipcodecs/src/lpc10_decode.c b/libs/voipcodecs/src/lpc10_decode.c index c8142d9550..b4a60f1c07 100644 --- a/libs/voipcodecs/src/lpc10_decode.c +++ b/libs/voipcodecs/src/lpc10_decode.c @@ -43,10 +43,10 @@ #if defined(HAVE_MATH_H) #include #endif -#if (_MSC_VER = 1400) /* fix for broken header files with msvc 2005*/ -#if !defined (_M_IA64) && !defined (_M_AMD64) -#undef logf -#define logf(x) ((float)log((double)(x))) +#if (_MSC_VER == 1400) /* fix for broken header files with msvc 2005*/ +#if !defined (_M_IA64) && !defined (_M_AMD64) +#undef logf +#define logf(x) ((float)log((double)(x))) #endif // !defined (_M_IA64) && !defined (_M_AMD64) #endif