Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Unified Diff: test/cctest/test-api.cc

Issue 13760003: Make gyp work with Cygwin (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform-cygwin.cc ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/platform-cygwin.cc ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698