forked from Mirrors/freeswitch
FS-4768 fix compile error on other platforms
This commit is contained in:
parent
dc2c11f13f
commit
5788195fd7
@ -109,11 +109,15 @@ typedef __int8 int8_t;
|
||||
#include <fcntl.h>
|
||||
#include <math.h>
|
||||
#if !defined(powf) && !defined(_WIN64)
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 28251)
|
||||
#endif
|
||||
extern float powf (float, float);
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
#endif
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#ifndef _MSC_VER
|
||||
|
Loading…
Reference in New Issue
Block a user