Index: test/cctest/test-api.cc |
=================================================================== |
--- test/cctest/test-api.cc (revision 14269) |
+++ test/cctest/test-api.cc (working copy) |
@@ -49,7 +49,7 @@ |
static const bool kLogThreading = false; |
static bool IsNaN(double x) { |
Sven Panne
2013/04/16 06:21:34
Why do we need this at all? Including math.h plus
haitao.feng
2013/04/16 08:17:22
Done.
|
-#ifdef WIN32 |
+#if defined(WIN32) && !defined(__CYGWIN__) |
return _isnan(x); |
#else |
return isnan(x); |