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

Side by Side Diff: src/base/win32-headers.h

Issue 333013002: Check alpha-sorting of includes during presubmit. (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/ast.cc ('k') | src/bignum.cc » ('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 #ifndef V8_BASE_WIN32_HEADERS_H_ 5 #ifndef V8_BASE_WIN32_HEADERS_H_
6 #define V8_BASE_WIN32_HEADERS_H_ 6 #define V8_BASE_WIN32_HEADERS_H_
7 7
8 #ifndef WIN32_LEAN_AND_MEAN 8 #ifndef WIN32_LEAN_AND_MEAN
9 // WIN32_LEAN_AND_MEAN implies NOCRYPT and NOGDI. 9 // WIN32_LEAN_AND_MEAN implies NOCRYPT and NOGDI.
10 #define WIN32_LEAN_AND_MEAN 10 #define WIN32_LEAN_AND_MEAN
(...skipping 17 matching lines...) Expand all
28 #define NOMCX 28 #define NOMCX
29 #endif 29 #endif
30 // Require Windows XP or higher (this is required for the RtlCaptureContext 30 // Require Windows XP or higher (this is required for the RtlCaptureContext
31 // function to be present). 31 // function to be present).
32 #ifndef _WIN32_WINNT 32 #ifndef _WIN32_WINNT
33 #define _WIN32_WINNT 0x501 33 #define _WIN32_WINNT 0x501
34 #endif 34 #endif
35 35
36 #include <windows.h> 36 #include <windows.h>
37 37
38 #include <mmsystem.h> // For timeGetTime().
38 #include <signal.h> // For raise(). 39 #include <signal.h> // For raise().
39 #include <time.h> // For LocalOffset() implementation. 40 #include <time.h> // For LocalOffset() implementation.
40 #include <mmsystem.h> // For timeGetTime().
41 #ifdef __MINGW32__ 41 #ifdef __MINGW32__
42 // Require Windows XP or higher when compiling with MinGW. This is for MinGW 42 // Require Windows XP or higher when compiling with MinGW. This is for MinGW
43 // header files to expose getaddrinfo. 43 // header files to expose getaddrinfo.
44 #undef _WIN32_WINNT 44 #undef _WIN32_WINNT
45 #define _WIN32_WINNT 0x501 45 #define _WIN32_WINNT 0x501
46 #endif // __MINGW32__ 46 #endif // __MINGW32__
47 #if !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR) 47 #if !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR)
48 #include <dbghelp.h> // For SymLoadModule64 and al. 48 #include <dbghelp.h> // For SymLoadModule64 and al.
49 #include <errno.h> // For STRUNCATE 49 #include <errno.h> // For STRUNCATE
50 #endif // !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR) 50 #endif // !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR)
(...skipping 19 matching lines...) Expand all
70 #undef UNKNOWN 70 #undef UNKNOWN
71 #undef NONE 71 #undef NONE
72 #undef ANY 72 #undef ANY
73 #undef IGNORE 73 #undef IGNORE
74 #undef STRICT 74 #undef STRICT
75 #undef GetObject 75 #undef GetObject
76 #undef CreateSemaphore 76 #undef CreateSemaphore
77 #undef Yield 77 #undef Yield
78 78
79 #endif // V8_BASE_WIN32_HEADERS_H_ 79 #endif // V8_BASE_WIN32_HEADERS_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/bignum.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698