make std::isnan work for winrt

This commit is contained in:
minggo 2016-05-05 10:29:31 +08:00
parent 03b38bcee2
commit e2c38ed87f
1 changed files with 1 additions and 4 deletions

View File

@ -33,6 +33,7 @@ THE SOFTWARE.
#include "platform/CCPlatformMacros.h"
#include <float.h>
#include <BaseTsd.h>
#include <cmath>
#ifndef __SSIZE_T
#define __SSIZE_T
@ -45,10 +46,6 @@ typedef SSIZE_T ssize_t;
#define _USE_MATH_DEFINES // make M_PI can be use
#endif
#if !defined(isnan)
#define isnan _isnan
#endif
#if _MSC_VER < 1900
#ifndef snprintf
#define snprintf _snprintf