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

Side by Side Diff: third_party/tcmalloc/config_win.h

Issue 340065: Upgrade google-perftools to revision 77... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « third_party/tcmalloc/config_linux.h ('k') | third_party/tcmalloc/malloc_hook.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 /* A manual version of config.h fit for windows machines. */ 1 /* A manual version of config.h fit for windows machines. */
2 2
3 /* Sometimes we accidentally #include this config.h instead of the one 3 /* Sometimes we accidentally #include this config.h instead of the one
4 in .. -- this is particularly true for msys/mingw, which uses the 4 in .. -- this is particularly true for msys/mingw, which uses the
5 unix config.h but also runs code in the windows directory. 5 unix config.h but also runs code in the windows directory.
6 */ 6 */
7 #ifdef __MINGW32__ 7 #ifdef __MINGW32__
8 #include "../config.h" 8 #include "../config.h"
9 #define GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ 9 #define GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_
10 #endif 10 #endif
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 254
255 // --------------------------------------------------------------------- 255 // ---------------------------------------------------------------------
256 // Extra stuff not found in config.h.in 256 // Extra stuff not found in config.h.in
257 257
258 // This must be defined before the windows.h is included. It's needed 258 // This must be defined before the windows.h is included. It's needed
259 // for mutex.h, to give access to the TryLock method. 259 // for mutex.h, to give access to the TryLock method.
260 #ifndef _WIN32_WINNT 260 #ifndef _WIN32_WINNT
261 # define _WIN32_WINNT 0x0400 261 # define _WIN32_WINNT 0x0400
262 #endif 262 #endif
263 263
264 // We want to make sure not to ever try to #include heap-checker.h
265 #define NO_HEAP_CHECK 1
266
264 // TODO(csilvers): include windows/port.h in every relevant source file instead? 267 // TODO(csilvers): include windows/port.h in every relevant source file instead?
265 #include "windows/port.h" 268 #include "windows/port.h"
266 269
267 #endif /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */ 270 #endif /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */
OLDNEW
« no previous file with comments | « third_party/tcmalloc/config_linux.h ('k') | third_party/tcmalloc/malloc_hook.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698