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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/platform-cygwin.cc ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 30 matching lines...) Expand all
41 #include "objects.h" 41 #include "objects.h"
42 #include "snapshot.h" 42 #include "snapshot.h"
43 #include "platform.h" 43 #include "platform.h"
44 #include "utils.h" 44 #include "utils.h"
45 #include "cctest.h" 45 #include "cctest.h"
46 #include "parser.h" 46 #include "parser.h"
47 #include "unicode-inl.h" 47 #include "unicode-inl.h"
48 48
49 static const bool kLogThreading = false; 49 static const bool kLogThreading = false;
50 50
51 static bool IsNaN(double x) { 51 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.
52 #ifdef WIN32 52 #if defined(WIN32) && !defined(__CYGWIN__)
53 return _isnan(x); 53 return _isnan(x);
54 #else 54 #else
55 return isnan(x); 55 return isnan(x);
56 #endif 56 #endif
57 } 57 }
58 58
59 using ::v8::AccessorInfo; 59 using ::v8::AccessorInfo;
60 using ::v8::Arguments; 60 using ::v8::Arguments;
61 using ::v8::Context; 61 using ::v8::Context;
62 using ::v8::Extension; 62 using ::v8::Extension;
(...skipping 18635 matching lines...) Expand 10 before | Expand all | Expand 10 after
18698 i::Semaphore* sem_; 18698 i::Semaphore* sem_;
18699 volatile int sem_value_; 18699 volatile int sem_value_;
18700 }; 18700 };
18701 18701
18702 18702
18703 THREADED_TEST(SemaphoreInterruption) { 18703 THREADED_TEST(SemaphoreInterruption) {
18704 ThreadInterruptTest().RunTest(); 18704 ThreadInterruptTest().RunTest();
18705 } 18705 }
18706 18706
18707 #endif // WIN32 18707 #endif // WIN32
OLDNEW
« 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