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

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

Issue 257009: Rollback Scavenge implemetation and rely on existing functionality to free... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « third_party/tcmalloc/config_linux.h ('k') | third_party/tcmalloc/google/malloc_extension.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 /* 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #undef HAVE_DECL_PVALLOC 54 #undef HAVE_DECL_PVALLOC
55 55
56 /* Define to 1 if you have the declaration of `uname', and to 0 if you don't. 56 /* Define to 1 if you have the declaration of `uname', and to 0 if you don't.
57 */ 57 */
58 #undef HAVE_DECL_UNAME 58 #undef HAVE_DECL_UNAME
59 59
60 /* Define to 1 if you have the declaration of `valloc', and to 0 if you don't. 60 /* Define to 1 if you have the declaration of `valloc', and to 0 if you don't.
61 */ 61 */
62 #undef HAVE_DECL_VALLOC 62 #undef HAVE_DECL_VALLOC
63 63
64 /* Define to 1 if you prefer to defer decommitting pages
65 (on OSes which have ability) which could be performed offline
66 (either by background thread or in idle time.)
67 */
68 #define DEFER_DECOMMIT 1
69
70 /* Define to 1 if you have the <dlfcn.h> header file. */ 64 /* Define to 1 if you have the <dlfcn.h> header file. */
71 #undef HAVE_DLFCN_H 65 #undef HAVE_DLFCN_H
72 66
73 /* Define to 1 if the system has the type `Elf32_Versym'. */ 67 /* Define to 1 if the system has the type `Elf32_Versym'. */
74 #undef HAVE_ELF32_VERSYM 68 #undef HAVE_ELF32_VERSYM
75 69
76 /* Define to 1 if you have the <execinfo.h> header file. */ 70 /* Define to 1 if you have the <execinfo.h> header file. */
77 #undef HAVE_EXECINFO_H 71 #undef HAVE_EXECINFO_H
78 72
79 /* Define to 1 if you have the <fcntl.h> header file. */ 73 /* Define to 1 if you have the <fcntl.h> header file. */
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // 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
265 // for mutex.h, to give access to the TryLock method. 259 // for mutex.h, to give access to the TryLock method.
266 #ifndef _WIN32_WINNT 260 #ifndef _WIN32_WINNT
267 # define _WIN32_WINNT 0x0400 261 # define _WIN32_WINNT 0x0400
268 #endif 262 #endif
269 263
270 // TODO(csilvers): include windows/port.h in every relevant source file instead? 264 // TODO(csilvers): include windows/port.h in every relevant source file instead?
271 #include "windows/port.h" 265 #include "windows/port.h"
272 266
273 #endif /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */ 267 #endif /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */
OLDNEW
« no previous file with comments | « third_party/tcmalloc/config_linux.h ('k') | third_party/tcmalloc/google/malloc_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698