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

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

Issue 6676076: Fix Win32 bots - they crash/timeout on too long thread name. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 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-win32.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include <time.h> // For LocalOffset() implementation. 59 #include <time.h> // For LocalOffset() implementation.
60 #include <mmsystem.h> // For timeGetTime(). 60 #include <mmsystem.h> // For timeGetTime().
61 #ifdef __MINGW32__ 61 #ifdef __MINGW32__
62 // Require Windows XP or higher when compiling with MinGW. This is for MinGW 62 // Require Windows XP or higher when compiling with MinGW. This is for MinGW
63 // header files to expose getaddrinfo. 63 // header files to expose getaddrinfo.
64 #undef _WIN32_WINNT 64 #undef _WIN32_WINNT
65 #define _WIN32_WINNT 0x501 65 #define _WIN32_WINNT 0x501
66 #endif // __MINGW32__ 66 #endif // __MINGW32__
67 #ifndef __MINGW32__ 67 #ifndef __MINGW32__
68 #include <dbghelp.h> // For SymLoadModule64 and al. 68 #include <dbghelp.h> // For SymLoadModule64 and al.
69 #include <errno.h> // For STRUNCATE
69 #endif // __MINGW32__ 70 #endif // __MINGW32__
70 #include <limits.h> // For INT_MAX and al. 71 #include <limits.h> // For INT_MAX and al.
71 #include <tlhelp32.h> // For Module32First and al. 72 #include <tlhelp32.h> // For Module32First and al.
72 73
73 // These additional WIN32 includes have to be right here as the #undef's below 74 // These additional WIN32 includes have to be right here as the #undef's below
74 // makes it impossible to have them elsewhere. 75 // makes it impossible to have them elsewhere.
75 #include <winsock2.h> 76 #include <winsock2.h>
76 #include <ws2tcpip.h> 77 #include <ws2tcpip.h>
77 #include <process.h> // for _beginthreadex() 78 #include <process.h> // for _beginthreadex()
78 #include <stdlib.h> 79 #include <stdlib.h>
79 #endif // V8_WIN32_HEADERS_FULL 80 #endif // V8_WIN32_HEADERS_FULL
80 81
81 #undef VOID 82 #undef VOID
82 #undef DELETE 83 #undef DELETE
83 #undef IN 84 #undef IN
84 #undef THIS 85 #undef THIS
85 #undef CONST 86 #undef CONST
86 #undef NAN 87 #undef NAN
87 #undef TRUE 88 #undef TRUE
88 #undef FALSE 89 #undef FALSE
89 #undef UNKNOWN 90 #undef UNKNOWN
90 #undef NONE 91 #undef NONE
91 #undef ANY 92 #undef ANY
92 #undef IGNORE 93 #undef IGNORE
93 #undef GetObject 94 #undef GetObject
94 #undef CreateMutex 95 #undef CreateMutex
95 #undef CreateSemaphore 96 #undef CreateSemaphore
OLDNEW
« no previous file with comments | « src/platform-win32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698