FS-4768 fix compile error on other platforms

This commit is contained in:
Jeff Lenk 2012-12-30 08:58:44 -06:00
parent dc2c11f13f
commit 5788195fd7
1 changed files with 4 additions and 0 deletions

View File

@ -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