do not redefine isnan if already defined via math.h
Summary: ```isnan``` is already defined in ```math.h``` (at least when using VS13) so there is no need to redefine it. it also is a nan for float and not for double opposed to ```_isnan``` Closes https://github.com/facebook/css-layout/pull/253 Reviewed By: emilsjolander Differential Revision: D4199331 Pulled By: splhack fbshipit-source-id: 139fb0efd68dd5df79bbaef863a8e8b9246c795d
This commit is contained in:
committed by
Facebook Github Bot
parent
4f192481ee
commit
542fc50409
@@ -14,7 +14,9 @@
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <float.h>
|
||||
#ifndef isnan
|
||||
#define isnan _isnan
|
||||
#endif
|
||||
|
||||
#ifndef __cplusplus
|
||||
#define inline __inline
|
||||
|
Reference in New Issue
Block a user