mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-16 03:42:09 +00:00
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 <fcntl.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#if !defined(powf) && !defined(_WIN64)
|
#if !defined(powf) && !defined(_WIN64)
|
||||||
|
#ifdef _MSC_VER
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
#pragma warning(disable: 28251)
|
#pragma warning(disable: 28251)
|
||||||
|
#endif
|
||||||
extern float powf (float, float);
|
extern float powf (float, float);
|
||||||
|
#ifdef _MSC_VER
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user