Define correct isnan, isinf functions
@ -3,6 +3,7 @@ node_js:
- '0.8'
- '0.10'
- '0.11'
- 'iojs'
before_install:
- sudo chown -R $USER /usr/local
- sh install
@ -23,11 +23,16 @@
#endif
// Windows doesn't support the C99 names for these
#ifndef isnan
#ifdef _MSC_VER
#define isnan(x) _isnan(x)
#define isinf(x) (!_finite(x))
#define isnan(x) std::isnan(x)
#define isinf(x) std::isinf(x)
Persistent<FunctionTemplate> Context2d::constructor;
/*