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

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

Issue 7050034: Merge google-perftools r109 (the current contents of third_party/tcmalloc/vendor) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
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 11 matching lines...) Expand all
22 /* the location of <hash_map> */ 22 /* the location of <hash_map> */
23 #define HASH_MAP_H <hash_map> 23 #define HASH_MAP_H <hash_map>
24 24
25 /* the namespace of hash_map/hash_set */ 25 /* the namespace of hash_map/hash_set */
26 #define HASH_NAMESPACE stdext 26 #define HASH_NAMESPACE stdext
27 27
28 /* the location of <hash_set> */ 28 /* the location of <hash_set> */
29 #define HASH_SET_H <hash_set> 29 #define HASH_SET_H <hash_set>
30 30
31 /* Define to 1 if your libc has a snprintf implementation */ 31 /* Define to 1 if your libc has a snprintf implementation */
32 #define HAVE_SNPRINTF 32 #undef HAVE_SNPRINTF
33 33
34 /* Define to 1 if compiler supports __builtin_stack_pointer */ 34 /* Define to 1 if compiler supports __builtin_stack_pointer */
35 #undef HAVE_BUILTIN_STACK_POINTER 35 #undef HAVE_BUILTIN_STACK_POINTER
36 36
37 /* Define to 1 if you have the <conflict-signal.h> header file. */ 37 /* Define to 1 if you have the <conflict-signal.h> header file. */
38 #undef HAVE_CONFLICT_SIGNAL_H 38 #undef HAVE_CONFLICT_SIGNAL_H
39 39
40 /* Define to 1 if you have the <cygwin/signal.h> header file. */
41 #undef HAVE_CYGWIN_SIGNAL_H
42
40 /* Define to 1 if you have the declaration of `cfree', and to 0 if you don't. 43 /* Define to 1 if you have the declaration of `cfree', and to 0 if you don't.
41 */ 44 */
42 #undef HAVE_DECL_CFREE 45 #undef HAVE_DECL_CFREE
43 46
44 /* Define to 1 if you have the declaration of `memalign', and to 0 if you 47 /* Define to 1 if you have the declaration of `memalign', and to 0 if you
45 don't. */ 48 don't. */
46 #undef HAVE_DECL_MEMALIGN 49 #undef HAVE_DECL_MEMALIGN
47 50
48 /* Define to 1 if you have the declaration of `posix_memalign', and to 0 if 51 /* Define to 1 if you have the declaration of `posix_memalign', and to 0 if
49 you don't. */ 52 you don't. */
(...skipping 16 matching lines...) Expand all
66 69
67 /* Define to 1 if the system has the type `Elf32_Versym'. */ 70 /* Define to 1 if the system has the type `Elf32_Versym'. */
68 #undef HAVE_ELF32_VERSYM 71 #undef HAVE_ELF32_VERSYM
69 72
70 /* Define to 1 if you have the <execinfo.h> header file. */ 73 /* Define to 1 if you have the <execinfo.h> header file. */
71 #undef HAVE_EXECINFO_H 74 #undef HAVE_EXECINFO_H
72 75
73 /* Define to 1 if you have the <fcntl.h> header file. */ 76 /* Define to 1 if you have the <fcntl.h> header file. */
74 #undef HAVE_FCNTL_H 77 #undef HAVE_FCNTL_H
75 78
79 /* Define to 1 if you have the <features.h> header file. */
80 #undef HAVE_FEATURES_H
81
76 /* Define to 1 if you have the `geteuid' function. */ 82 /* Define to 1 if you have the `geteuid' function. */
77 #undef HAVE_GETEUID 83 #undef HAVE_GETEUID
78 84
79 /* Define to 1 if you have the `getpagesize' function. */ 85 /* Define to 1 if you have the `getpagesize' function. */
80 #define HAVE_GETPAGESIZE 1 /* we define it in windows/port.cc */ 86 #define HAVE_GETPAGESIZE 1 /* we define it in windows/port.cc */
81 87
82 /* Define to 1 if you have the <glob.h> header file. */ 88 /* Define to 1 if you have the <glob.h> header file. */
83 #undef HAVE_GLOB_H 89 #undef HAVE_GLOB_H
84 90
85 /* Define to 1 if you have the <grp.h> header file. */ 91 /* Define to 1 if you have the <grp.h> header file. */
(...skipping 10 matching lines...) Expand all
96 102
97 /* Define to 1 if you have the <libunwind.h> header file. */ 103 /* Define to 1 if you have the <libunwind.h> header file. */
98 #undef HAVE_LIBUNWIND_H 104 #undef HAVE_LIBUNWIND_H
99 105
100 /* Define to 1 if you have the <linux/ptrace.h> header file. */ 106 /* Define to 1 if you have the <linux/ptrace.h> header file. */
101 #undef HAVE_LINUX_PTRACE_H 107 #undef HAVE_LINUX_PTRACE_H
102 108
103 /* Define to 1 if you have the <malloc.h> header file. */ 109 /* Define to 1 if you have the <malloc.h> header file. */
104 #undef HAVE_MALLOC_H 110 #undef HAVE_MALLOC_H
105 111
112 /* Define to 1 if you have the <malloc/malloc.h> header file. */
113 #undef HAVE_MALLOC_MALLOC_H
114
106 /* Define to 1 if you have the <memory.h> header file. */ 115 /* Define to 1 if you have the <memory.h> header file. */
107 #undef HAVE_MEMORY_H 116 #undef HAVE_MEMORY_H
108 117
109 /* Define to 1 if you have a working `mmap' system call. */ 118 /* Define to 1 if you have a working `mmap' system call. */
110 #undef HAVE_MMAP 119 #undef HAVE_MMAP
111 120
112 /* define if the compiler implements namespaces */ 121 /* define if the compiler implements namespaces */
113 #define HAVE_NAMESPACES 1 122 #define HAVE_NAMESPACES 1
114 123
124 /* Define to 1 if you have the <poll.h> header file. */
125 #undef HAVE_POLL_H
126
115 /* define if libc has program_invocation_name */ 127 /* define if libc has program_invocation_name */
116 #undef HAVE_PROGRAM_INVOCATION_NAME 128 #undef HAVE_PROGRAM_INVOCATION_NAME
117 129
118 /* Define if you have POSIX threads libraries and header files. */ 130 /* Define if you have POSIX threads libraries and header files. */
119 #undef HAVE_PTHREAD 131 #undef HAVE_PTHREAD
120 132
121 /* Define to 1 if you have the <pwd.h> header file. */ 133 /* Define to 1 if you have the <pwd.h> header file. */
122 #undef HAVE_PWD_H 134 #undef HAVE_PWD_H
123 135
124 /* Define to 1 if you have the `sbrk' function. */ 136 /* Define to 1 if you have the `sbrk' function. */
125 #undef HAVE_SBRK 137 #undef HAVE_SBRK
138 /* Define to 1 if you have the <sched.h> header file. */
139 #undef HAVE_SCHED_H
126 140
127 /* Define to 1 if you have the <stdint.h> header file. */ 141 /* Define to 1 if you have the <stdint.h> header file. */
128 #undef HAVE_STDINT_H 142 #undef HAVE_STDINT_H
129 143
130 /* Define to 1 if you have the <stdlib.h> header file. */ 144 /* Define to 1 if you have the <stdlib.h> header file. */
131 #define HAVE_STDLIB_H 1 145 #define HAVE_STDLIB_H 1
132 146
133 /* Define to 1 if you have the <strings.h> header file. */ 147 /* Define to 1 if you have the <strings.h> header file. */
134 #undef HAVE_STRINGS_H 148 #undef HAVE_STRINGS_H
135 149
136 /* Define to 1 if you have the <string.h> header file. */ 150 /* Define to 1 if you have the <string.h> header file. */
137 #define HAVE_STRING_H 1 151 #define HAVE_STRING_H 1
138 152
139 /* Define to 1 if the system has the type `struct mallinfo'. */ 153 /* Define to 1 if the system has the type `struct mallinfo'. */
140 #undef HAVE_STRUCT_MALLINFO 154 #undef HAVE_STRUCT_MALLINFO
141 155
156 /* Define to 1 if you have the <sys/cdefs.h> header file. */
157 #undef HAVE_SYS_CDEFS_H
158
159 /* Define to 1 if you have the <sys/malloc.h> header file. */
160 #undef HAVE_SYS_MALLOC_H
161
162 /* Define to 1 if you have the <sys/param.h> header file. */
163 #undef HAVE_SYS_PARAM_H
164
142 /* Define to 1 if you have the <sys/prctl.h> header file. */ 165 /* Define to 1 if you have the <sys/prctl.h> header file. */
143 #undef HAVE_SYS_PRCTL_H 166 #undef HAVE_SYS_PRCTL_H
144 167
145 /* Define to 1 if you have the <sys/resource.h> header file. */ 168 /* Define to 1 if you have the <sys/resource.h> header file. */
146 #undef HAVE_SYS_RESOURCE_H 169 #undef HAVE_SYS_RESOURCE_H
147 170
148 /* Define to 1 if you have the <sys/socket.h> header file. */ 171 /* Define to 1 if you have the <sys/socket.h> header file. */
149 #undef HAVE_SYS_SOCKET_H 172 #undef HAVE_SYS_SOCKET_H
150 173
151 /* Define to 1 if you have the <sys/stat.h> header file. */ 174 /* Define to 1 if you have the <sys/stat.h> header file. */
152 #define HAVE_SYS_STAT_H 1 175 #define HAVE_SYS_STAT_H 1
153 176
154 /* Define to 1 if you have the <sys/syscall.h> header file. */ 177 /* Define to 1 if you have the <sys/syscall.h> header file. */
155 #undef HAVE_SYS_SYSCALL_H 178 #undef HAVE_SYS_SYSCALL_H
156 179
180 /* Define to 1 if you have the <sys/time.h> header file. */
181 #undef HAVE_SYS_TIME_H
182
157 /* Define to 1 if you have the <sys/types.h> header file. */ 183 /* Define to 1 if you have the <sys/types.h> header file. */
158 #define HAVE_SYS_TYPES_H 1 184 #define HAVE_SYS_TYPES_H 1
159 185
186 /* <sys/ucontext.h> is broken on redhat 7 */
187 #undef HAVE_SYS_UCONTEXT_H
188
160 /* Define to 1 if you have the <sys/wait.h> header file. */ 189 /* Define to 1 if you have the <sys/wait.h> header file. */
161 #undef HAVE_SYS_WAIT_H 190 #undef HAVE_SYS_WAIT_H
162 191
163 /* Define to 1 if compiler supports __thread */ 192 /* Define to 1 if compiler supports __thread */
164 #undef HAVE_TLS 193 #undef HAVE_TLS
165 194
166 /* Define to 1 if you have the <ucontext.h> header file. */ 195 /* Define to 1 if you have the <ucontext.h> header file. */
167 #undef HAVE_UCONTEXT_H 196 #undef HAVE_UCONTEXT_H
168 197
169 /* Define to 1 if you have the <unistd.h> header file. */ 198 /* Define to 1 if you have the <unistd.h> header file. */
170 #undef HAVE_UNISTD_H 199 #undef HAVE_UNISTD_H
171 200
172 /* Define to 1 if you have the <unwind.h> header file. */ 201 /* Define to 1 if you have the <unwind.h> header file. */
173 #undef HAVE_UNWIND_H 202 #undef HAVE_UNWIND_H
174 203
175 /* define if your compiler has __attribute__ */ 204 /* define if your compiler has __attribute__ */
176 #undef HAVE___ATTRIBUTE__ 205 #undef HAVE___ATTRIBUTE__
177 206
207 /* Define to 1 if compiler supports __environ */
208 #undef HAVE___ENVIRON
209
178 /* Define to 1 if the system has the type `__int64'. */ 210 /* Define to 1 if the system has the type `__int64'. */
179 #define HAVE___INT64 1 211 #define HAVE___INT64 1
180 212
181 /* prefix where we look for installed files */ 213 /* prefix where we look for installed files */
182 #undef INSTALL_PREFIX 214 #undef INSTALL_PREFIX
183 215
184 /* Define to 1 if int32_t is equivalent to intptr_t */ 216 /* Define to 1 if int32_t is equivalent to intptr_t */
185 #undef INT32_EQUALS_INTPTR 217 #undef INT32_EQUALS_INTPTR
186 218
219 /* Define to the sub-directory in which libtool stores uninstalled libraries.
220 */
221 #undef LT_OBJDIR
222
187 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ 223 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
188 #undef NO_MINUS_C_MINUS_O 224 #undef NO_MINUS_C_MINUS_O
189 225
190 /* Name of package */ 226 /* Name of package */
191 #undef PACKAGE 227 #undef PACKAGE
192 228
193 /* Define to the address where bug reports for this package should be sent. */ 229 /* Define to the address where bug reports for this package should be sent. */
194 #undef PACKAGE_BUGREPORT 230 #undef PACKAGE_BUGREPORT
195 231
196 /* Define to the full name of this package. */ 232 /* Define to the full name of this package. */
197 #undef PACKAGE_NAME 233 #undef PACKAGE_NAME
198 234
199 /* Define to the full name and version of this package. */ 235 /* Define to the full name and version of this package. */
200 #undef PACKAGE_STRING 236 #undef PACKAGE_STRING
201 237
202 /* Define to the one symbol short name of this package. */ 238 /* Define to the one symbol short name of this package. */
203 #undef PACKAGE_TARNAME 239 #undef PACKAGE_TARNAME
204 240
241 /* Define to the home page for this package. */
242 #undef PACKAGE_URL
243
205 /* Define to the version of this package. */ 244 /* Define to the version of this package. */
206 #undef PACKAGE_VERSION 245 #undef PACKAGE_VERSION
207 246
208 /* How to access the PC from a struct ucontext */ 247 /* How to access the PC from a struct ucontext */
209 #undef PC_FROM_UCONTEXT 248 #undef PC_FROM_UCONTEXT
210 249
211 /* Always the empty-string on non-windows systems. On windows, should be 250 /* Always the empty-string on non-windows systems. On windows, should be
212 "__declspec(dllexport)". This way, when we compile the dll, we export our 251 "__declspec(dllexport)". This way, when we compile the dll, we export our
213 functions/classes. It's safe to define this here because config.h is only 252 functions/classes. It's safe to define this here because config.h is only
214 used internally, to compile the DLL, and every DLL source file #includes 253 used internally, to compile the DLL, and every DLL source file #includes
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 # define _WIN32_WINNT 0x0501 302 # define _WIN32_WINNT 0x0501
264 #endif 303 #endif
265 304
266 // We want to make sure not to ever try to #include heap-checker.h 305 // We want to make sure not to ever try to #include heap-checker.h
267 #define NO_HEAP_CHECK 1 306 #define NO_HEAP_CHECK 1
268 307
269 // TODO(csilvers): include windows/port.h in every relevant source file instead? 308 // TODO(csilvers): include windows/port.h in every relevant source file instead?
270 #include "windows/port.h" 309 #include "windows/port.h"
271 310
272 #endif /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */ 311 #endif /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */
OLDNEW
« no previous file with comments | « third_party/tcmalloc/chromium/src/config_linux.h ('k') | third_party/tcmalloc/chromium/src/debugallocation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698