fix for broken msvc 2005 math.h
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8680 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ed2422b173
commit
21d35c2c24
|
@ -43,6 +43,13 @@
|
|||
#if defined(HAVE_MATH_H)
|
||||
#include <math.h>
|
||||
#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)))
|
||||
#endif // !defined (_M_IA64) && !defined (_M_AMD64)
|
||||
#endif
|
||||
|
||||
#include <memory.h>
|
||||
|
||||
#include "voipcodecs/telephony.h"
|
||||
|
|
Loading…
Reference in New Issue