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

Side by Side Diff: src/platform-win32.cc

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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-solaris.cc ('k') | src/platform/condition-variable.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Platform-specific code for Win32. 5 // Platform-specific code for Win32.
6 6
7 // Secure API functions are not available using MinGW with msvcrt.dll 7 // Secure API functions are not available using MinGW with msvcrt.dll
8 // on Windows XP. Make sure MINGW_HAS_SECURE_API is not defined to 8 // on Windows XP. Make sure MINGW_HAS_SECURE_API is not defined to
9 // disable definition of secure API functions in standard headers that 9 // disable definition of secure API functions in standard headers that
10 // would conflict with our own implementation. 10 // would conflict with our own implementation.
11 #ifdef __MINGW32__ 11 #ifdef __MINGW32__
12 #include <_mingw.h> 12 #include <_mingw.h>
13 #ifdef MINGW_HAS_SECURE_API 13 #ifdef MINGW_HAS_SECURE_API
14 #undef MINGW_HAS_SECURE_API 14 #undef MINGW_HAS_SECURE_API
15 #endif // MINGW_HAS_SECURE_API 15 #endif // MINGW_HAS_SECURE_API
16 #endif // __MINGW32__ 16 #endif // __MINGW32__
17 17
18 #include "win32-headers.h" 18 #include "src/win32-headers.h"
19 19
20 #include "v8.h" 20 #include "src/v8.h"
21 21
22 #include "isolate-inl.h" 22 #include "src/isolate-inl.h"
23 #include "platform.h" 23 #include "src/platform.h"
24 24
25 #ifdef _MSC_VER 25 #ifdef _MSC_VER
26 26
27 // Case-insensitive bounded string comparisons. Use stricmp() on Win32. Usually 27 // Case-insensitive bounded string comparisons. Use stricmp() on Win32. Usually
28 // defined in strings.h. 28 // defined in strings.h.
29 int strncasecmp(const char* s1, const char* s2, int n) { 29 int strncasecmp(const char* s1, const char* s2, int n) {
30 return _strnicmp(s1, s2, n); 30 return _strnicmp(s1, s2, n);
31 } 31 }
32 32
33 #endif // _MSC_VER 33 #endif // _MSC_VER
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1396 ASSERT(result); 1396 ASSERT(result);
1397 } 1397 }
1398 1398
1399 1399
1400 1400
1401 void Thread::YieldCPU() { 1401 void Thread::YieldCPU() {
1402 Sleep(0); 1402 Sleep(0);
1403 } 1403 }
1404 1404
1405 } } // namespace v8::internal 1405 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-solaris.cc ('k') | src/platform/condition-variable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698