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

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

Issue 9323026: [NOT TO COMMIT!] r109: Diff of the current tcmalloc from the original google-perftools r109. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 10 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 /* src/config.h. Generated from config.h.in by configure. */
1 /* src/config.h.in. Generated from configure.ac by autoheader. */ 2 /* src/config.h.in. Generated from configure.ac by autoheader. */
2 3
3
4 #ifndef GOOGLE_PERFTOOLS_CONFIG_H_
5 #define GOOGLE_PERFTOOLS_CONFIG_H_
6
7
8 /* Define to 1 if compiler supports __builtin_stack_pointer */ 4 /* Define to 1 if compiler supports __builtin_stack_pointer */
9 #undef HAVE_BUILTIN_STACK_POINTER 5 /* #undef HAVE_BUILTIN_STACK_POINTER */
10 6
11 /* Define to 1 if you have the <conflict-signal.h> header file. */ 7 /* Define to 1 if you have the <conflict-signal.h> header file. */
12 #undef HAVE_CONFLICT_SIGNAL_H 8 /* #undef HAVE_CONFLICT_SIGNAL_H */
13 9
14 /* Define to 1 if you have the <cygwin/signal.h> header file. */ 10 /* Define to 1 if you have the <cygwin/signal.h> header file. */
15 #undef HAVE_CYGWIN_SIGNAL_H 11 #undef HAVE_CYGWIN_SIGNAL_H
16 12
17 /* Define to 1 if you have the declaration of `cfree', and to 0 if you don't. 13 /* Define to 1 if you have the declaration of `cfree', and to 0 if you don't.
18 */ 14 */
19 #undef HAVE_DECL_CFREE 15 #define HAVE_DECL_CFREE 1
20 16
21 /* Define to 1 if you have the declaration of `memalign', and to 0 if you 17 /* Define to 1 if you have the declaration of `memalign', and to 0 if you
22 don't. */ 18 don't. */
23 #undef HAVE_DECL_MEMALIGN 19 #define HAVE_DECL_MEMALIGN 1
24 20
25 /* Define to 1 if you have the declaration of `posix_memalign', and to 0 if 21 /* Define to 1 if you have the declaration of `posix_memalign', and to 0 if
26 you don't. */ 22 you don't. */
27 #undef HAVE_DECL_POSIX_MEMALIGN 23 #define HAVE_DECL_POSIX_MEMALIGN 1
28 24
29 /* Define to 1 if you have the declaration of `pvalloc', and to 0 if you 25 /* Define to 1 if you have the declaration of `pvalloc', and to 0 if you
30 don't. */ 26 don't. */
31 #undef HAVE_DECL_PVALLOC 27 #define HAVE_DECL_PVALLOC 1
32 28
33 /* Define to 1 if you have the declaration of `uname', and to 0 if you don't. 29 /* Define to 1 if you have the declaration of `uname', and to 0 if you don't.
34 */ 30 */
35 #undef HAVE_DECL_UNAME 31 #define HAVE_DECL_UNAME 1
36 32
37 /* Define to 1 if you have the declaration of `valloc', and to 0 if you don't. 33 /* Define to 1 if you have the declaration of `valloc', and to 0 if you don't.
38 */ 34 */
39 #undef HAVE_DECL_VALLOC 35 #define HAVE_DECL_VALLOC 1
40 36
41 /* Define to 1 if you have the <dlfcn.h> header file. */ 37 /* Define to 1 if you have the <dlfcn.h> header file. */
42 #undef HAVE_DLFCN_H 38 #define HAVE_DLFCN_H 1
43 39
44 /* Define to 1 if the system has the type `Elf32_Versym'. */ 40 /* Define to 1 if the system has the type `Elf32_Versym'. */
45 #undef HAVE_ELF32_VERSYM 41 #define HAVE_ELF32_VERSYM 1
46 42
47 /* Define to 1 if you have the <execinfo.h> header file. */ 43 /* Define to 1 if you have the <execinfo.h> header file. */
48 #undef HAVE_EXECINFO_H 44 #define HAVE_EXECINFO_H 1
49 45
50 /* Define to 1 if you have the <fcntl.h> header file. */ 46 /* Define to 1 if you have the <fcntl.h> header file. */
51 #undef HAVE_FCNTL_H 47 #define HAVE_FCNTL_H 1
52 48
53 /* Define to 1 if you have the <features.h> header file. */ 49 /* Define to 1 if you have the <features.h> header file. */
54 #undef HAVE_FEATURES_H 50 #define HAVE_FEATURES_H 1
55 51
56 /* Define to 1 if you have the `geteuid' function. */ 52 /* Define to 1 if you have the `geteuid' function. */
57 #undef HAVE_GETEUID 53 #define HAVE_GETEUID 1
58 54
59 /* Define to 1 if you have the `getpagesize' function. */ 55 /* Define to 1 if you have the `getpagesize' function. */
60 #undef HAVE_GETPAGESIZE 56 #define HAVE_GETPAGESIZE 1
61 57
62 /* Define to 1 if you have the <glob.h> header file. */ 58 /* Define to 1 if you have the <glob.h> header file. */
63 #undef HAVE_GLOB_H 59 #define HAVE_GLOB_H 1
64 60
65 /* Define to 1 if you have the <grp.h> header file. */ 61 /* Define to 1 if you have the <grp.h> header file. */
66 #undef HAVE_GRP_H 62 #define HAVE_GRP_H 1
67 63
68 /* Define to 1 if you have the <inttypes.h> header file. */ 64 /* Define to 1 if you have the <inttypes.h> header file. */
69 #undef HAVE_INTTYPES_H 65 #define HAVE_INTTYPES_H 1
70 66
71 /* Define to 1 if you have the <libunwind.h> header file. */ 67 /* Define to 1 if you have the <libunwind.h> header file. */
72 #undef HAVE_LIBUNWIND_H 68 /* #undef HAVE_LIBUNWIND_H */
73 69
74 /* Define to 1 if you have the <linux/ptrace.h> header file. */ 70 /* Define to 1 if you have the <linux/ptrace.h> header file. */
75 #undef HAVE_LINUX_PTRACE_H 71 #define HAVE_LINUX_PTRACE_H 1
76 72
77 /* Define to 1 if you have the <malloc.h> header file. */ 73 /* Define to 1 if you have the <malloc.h> header file. */
78 #undef HAVE_MALLOC_H 74 #define HAVE_MALLOC_H 1
79 75
80 /* Define to 1 if you have the <malloc/malloc.h> header file. */ 76 /* Define to 1 if you have the <malloc/malloc.h> header file. */
81 #undef HAVE_MALLOC_MALLOC_H 77 #undef HAVE_MALLOC_MALLOC_H
82 78
83 /* Define to 1 if you have the <memory.h> header file. */ 79 /* Define to 1 if you have the <memory.h> header file. */
84 #undef HAVE_MEMORY_H 80 #define HAVE_MEMORY_H 1
85 81
86 /* Define to 1 if you have a working `mmap' system call. */ 82 /* Define to 1 if you have a working `mmap' system call. */
87 #undef HAVE_MMAP 83 #define HAVE_MMAP 1
88 84
89 /* define if the compiler implements namespaces */ 85 /* define if the compiler implements namespaces */
90 #undef HAVE_NAMESPACES 86 #define HAVE_NAMESPACES 1
91 87
92 /* Define to 1 if you have the <poll.h> header file. */ 88 /* Define to 1 if you have the <poll.h> header file. */
93 #undef HAVE_POLL_H 89 #define HAVE_POLL_H 1
94 90
95 /* define if libc has program_invocation_name */ 91 /* define if libc has program_invocation_name */
96 #undef HAVE_PROGRAM_INVOCATION_NAME 92 #define HAVE_PROGRAM_INVOCATION_NAME 1
97 93
98 /* Define if you have POSIX threads libraries and header files. */ 94 /* Define if you have POSIX threads libraries and header files. */
99 #undef HAVE_PTHREAD 95 #define HAVE_PTHREAD 1
100 96
101 /* Define to 1 if you have the <pwd.h> header file. */ 97 /* Define to 1 if you have the <pwd.h> header file. */
102 #undef HAVE_PWD_H 98 #define HAVE_PWD_H 1
103 99
104 /* Define to 1 if you have the `sbrk' function. */ 100 /* Define to 1 if you have the `sbrk' function. */
105 #undef HAVE_SBRK 101 #define HAVE_SBRK 1
106 102
107 /* Define to 1 if you have the <sched.h> header file. */ 103 /* Define to 1 if you have the <sched.h> header file. */
108 #undef HAVE_SCHED_H 104 #define HAVE_SCHED_H 1
109 105
110 /* Define to 1 if you have the <stdint.h> header file. */ 106 /* Define to 1 if you have the <stdint.h> header file. */
111 #undef HAVE_STDINT_H 107 #define HAVE_STDINT_H 1
112 108
113 /* Define to 1 if you have the <stdlib.h> header file. */ 109 /* Define to 1 if you have the <stdlib.h> header file. */
114 #undef HAVE_STDLIB_H 110 #define HAVE_STDLIB_H 1
115 111
116 /* Define to 1 if you have the <strings.h> header file. */ 112 /* Define to 1 if you have the <strings.h> header file. */
117 #undef HAVE_STRINGS_H 113 #define HAVE_STRINGS_H 1
118 114
119 /* Define to 1 if you have the <string.h> header file. */ 115 /* Define to 1 if you have the <string.h> header file. */
120 #undef HAVE_STRING_H 116 #define HAVE_STRING_H 1
121 117
122 /* Define to 1 if the system has the type `struct mallinfo'. */ 118 /* Define to 1 if the system has the type `struct mallinfo'. */
123 #undef HAVE_STRUCT_MALLINFO 119 #define HAVE_STRUCT_MALLINFO 1
124 120
125 /* Define to 1 if you have the <sys/cdefs.h> header file. */ 121 /* Define to 1 if you have the <sys/cdefs.h> header file. */
126 #undef HAVE_SYS_CDEFS_H 122 #define HAVE_SYS_CDEFS_H 1
127 123
128 /* Define to 1 if you have the <sys/malloc.h> header file. */ 124 /* Define to 1 if you have the <sys/malloc.h> header file. */
129 #undef HAVE_SYS_MALLOC_H 125 #undef HAVE_SYS_MALLOC_H
130 126
131 /* Define to 1 if you have the <sys/param.h> header file. */ 127 /* Define to 1 if you have the <sys/param.h> header file. */
132 #undef HAVE_SYS_PARAM_H 128 #define HAVE_SYS_PARAM_H 1
133 129
134 /* Define to 1 if you have the <sys/prctl.h> header file. */ 130 /* Define to 1 if you have the <sys/prctl.h> header file. */
135 #undef HAVE_SYS_PRCTL_H 131 #define HAVE_SYS_PRCTL_H 1
136 132
137 /* Define to 1 if you have the <sys/resource.h> header file. */ 133 /* Define to 1 if you have the <sys/resource.h> header file. */
138 #undef HAVE_SYS_RESOURCE_H 134 #define HAVE_SYS_RESOURCE_H 1
139 135
140 /* Define to 1 if you have the <sys/socket.h> header file. */ 136 /* Define to 1 if you have the <sys/socket.h> header file. */
141 #undef HAVE_SYS_SOCKET_H 137 #define HAVE_SYS_SOCKET_H 1
142 138
143 /* Define to 1 if you have the <sys/stat.h> header file. */ 139 /* Define to 1 if you have the <sys/stat.h> header file. */
144 #undef HAVE_SYS_STAT_H 140 #define HAVE_SYS_STAT_H 1
145 141
146 /* Define to 1 if you have the <sys/syscall.h> header file. */ 142 /* Define to 1 if you have the <sys/syscall.h> header file. */
147 #undef HAVE_SYS_SYSCALL_H 143 #define HAVE_SYS_SYSCALL_H 1
144
145 /* Define to 1 if you have the <sys/time.h> header file. */
146 #define HAVE_SYS_TIME_H 1
148 147
149 /* Define to 1 if you have the <sys/types.h> header file. */ 148 /* Define to 1 if you have the <sys/types.h> header file. */
150 #undef HAVE_SYS_TYPES_H 149 #define HAVE_SYS_TYPES_H 1
151 150
152 /* <sys/ucontext.h> is broken on redhat 7 */ 151 /* <sys/ucontext.h> is broken on redhat 7 */
153 #undef HAVE_SYS_UCONTEXT_H 152 #undef HAVE_SYS_UCONTEXT_H
154 153
155 /* Define to 1 if you have the <sys/wait.h> header file. */ 154 /* Define to 1 if you have the <sys/wait.h> header file. */
156 #undef HAVE_SYS_WAIT_H 155 #define HAVE_SYS_WAIT_H 1
157 156
158 /* Define to 1 if compiler supports __thread */ 157 /* Define to 1 if compiler supports __thread */
159 #undef HAVE_TLS 158 #define HAVE_TLS 1
160 159
161 /* Define to 1 if you have the <ucontext.h> header file. */ 160 /* <sys/ucontext.h> is broken on redhat 7 */
162 #undef HAVE_UCONTEXT_H 161 #define HAVE_UCONTEXT_H 1
163 162
164 /* Define to 1 if you have the <unistd.h> header file. */ 163 /* Define to 1 if you have the <unistd.h> header file. */
165 #undef HAVE_UNISTD_H 164 #define HAVE_UNISTD_H 1
166 165
167 /* Define to 1 if you have the <unwind.h> header file. */ 166 /* Define to 1 if you have the <unwind.h> header file. */
168 #undef HAVE_UNWIND_H 167 #define HAVE_UNWIND_H 1
169 168
170 /* Define to 1 if you have the <valgrind.h> header file. */ 169 /* Define to 1 if you have the <valgrind.h> header file. */
171 #undef HAVE_VALGRIND_H 170 #undef HAVE_VALGRIND_H
172 171
173 /* define if your compiler has __attribute__ */ 172 /* define if your compiler has __attribute__ */
174 #undef HAVE___ATTRIBUTE__ 173 #define HAVE___ATTRIBUTE__ 1
175 174
176 /* Define to 1 if compiler supports __environ */ 175 /* Define to 1 if compiler supports __environ */
177 #undef HAVE___ENVIRON 176 #undef HAVE___ENVIRON
178 177
179 /* Define to 1 if the system has the type `__int64'. */ 178 /* Define to 1 if the system has the type `__int64'. */
180 #undef HAVE___INT64 179 /* #undef HAVE___INT64 */
181 180
182 /* prefix where we look for installed files */ 181 /* prefix where we look for installed files */
183 #undef INSTALL_PREFIX 182 #define INSTALL_PREFIX "/usr/local"
184 183
185 /* Define to 1 if int32_t is equivalent to intptr_t */ 184 /* Define to 1 if int32_t is equivalent to intptr_t */
186 #undef INT32_EQUALS_INTPTR 185 /* #undef INT32_EQUALS_INTPTR */
187 186
188 /* Define to the sub-directory in which libtool stores uninstalled libraries. 187 /* Define to the sub-directory in which libtool stores uninstalled libraries.
189 */ 188 */
190 #undef LT_OBJDIR 189 #undef LT_OBJDIR
191 190
192 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ 191 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
193 #undef NO_MINUS_C_MINUS_O 192 /* #undef NO_MINUS_C_MINUS_O */
194 193
195 /* Name of package */ 194 /* Name of package */
196 #undef PACKAGE 195 #define PACKAGE "google-perftools"
197 196
198 /* Define to the address where bug reports for this package should be sent. */ 197 /* Define to the address where bug reports for this package should be sent. */
199 #undef PACKAGE_BUGREPORT 198 #define PACKAGE_BUGREPORT "opensource@google.com"
200 199
201 /* Define to the full name of this package. */ 200 /* Define to the full name of this package. */
202 #undef PACKAGE_NAME 201 #define PACKAGE_NAME "google-perftools"
203 202
204 /* Define to the full name and version of this package. */ 203 /* Define to the full name and version of this package. */
205 #undef PACKAGE_STRING 204 #define PACKAGE_STRING "google-perftools 1.7"
206 205
207 /* Define to the one symbol short name of this package. */ 206 /* Define to the one symbol short name of this package. */
208 #undef PACKAGE_TARNAME 207 #define PACKAGE_TARNAME "google-perftools"
209 208
210 /* Define to the home page for this package. */ 209 /* Define to the home page for this package. */
211 #undef PACKAGE_URL 210 #undef PACKAGE_URL
212 211
213 /* Define to the version of this package. */ 212 /* Define to the version of this package. */
214 #undef PACKAGE_VERSION 213 #define PACKAGE_VERSION "1.7"
215 214
216 /* How to access the PC from a struct ucontext */ 215 /* How to access the PC from a struct ucontext */
217 #undef PC_FROM_UCONTEXT 216 #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP]
218 217
219 /* Always the empty-string on non-windows systems. On windows, should be 218 /* Always the empty-string on non-windows systems. On windows, should be
220 "__declspec(dllexport)". This way, when we compile the dll, we export our 219 "__declspec(dllexport)". This way, when we compile the dll, we export our
221 functions/classes. It's safe to define this here because config.h is only 220 functions/classes. It's safe to define this here because config.h is only
222 used internally, to compile the DLL, and every DLL source file #includes 221 used internally, to compile the DLL, and every DLL source file #includes
223 "config.h" before anything else. */ 222 "config.h" before anything else. */
224 #undef PERFTOOLS_DLL_DECL 223 #define PERFTOOLS_DLL_DECL
225 224
226 /* printf format code for printing a size_t and ssize_t */ 225 /* printf format code for printing a size_t and ssize_t */
227 #undef PRIdS 226 #define PRIdS "zd"
228 227
229 /* printf format code for printing a size_t and ssize_t */ 228 /* printf format code for printing a size_t and ssize_t */
230 #undef PRIuS 229 #define PRIuS "zu"
231 230
232 /* printf format code for printing a size_t and ssize_t */ 231 /* printf format code for printing a size_t and ssize_t */
233 #undef PRIxS 232 #define PRIxS "zx"
234 233
235 /* Define to necessary symbol if this constant uses a non-standard name on 234 /* Define to necessary symbol if this constant uses a non-standard name on
236 your system. */ 235 your system. */
237 #undef PTHREAD_CREATE_JOINABLE 236 /* #undef PTHREAD_CREATE_JOINABLE */
238 237
239 /* Define to 1 if you have the ANSI C header files. */ 238 /* Define to 1 if you have the ANSI C header files. */
240 #undef STDC_HEADERS 239 #define STDC_HEADERS 1
241 240
242 /* the namespace where STL code like vector<> is defined */ 241 /* the namespace where STL code like vector<> is defined */
243 #undef STL_NAMESPACE 242 #define STL_NAMESPACE std
244 243
245 /* Version number of package */ 244 /* Version number of package */
246 #undef VERSION 245 #define VERSION "1.7"
247 246
248 /* C99 says: define this to get the PRI... macros from stdint.h */ 247 /* C99 says: define this to get the PRI... macros from stdint.h */
249 #ifndef __STDC_FORMAT_MACROS 248 #ifndef __STDC_FORMAT_MACROS
250 # define __STDC_FORMAT_MACROS 1 249 # define __STDC_FORMAT_MACROS 1
251 #endif 250 #endif
252 251
253 /* Define to `__inline__' or `__inline' if that's what the C compiler 252 /* Define to `__inline__' or `__inline' if that's what the C compiler
254 calls it, or to nothing if 'inline' is not supported under any name. */ 253 calls it, or to nothing if 'inline' is not supported under any name. */
255 #ifndef __cplusplus 254 #ifndef __cplusplus
256 #undef inline 255 /* #undef inline */
257 #endif 256 #endif
258 257
259 258
260 #ifdef __MINGW32__ 259 #ifdef __MINGW32__
261 #include "windows/mingw.h" 260 #include "windows/mingw.h"
262 #endif 261 #endif
263
264 #endif /* #ifndef GOOGLE_PERFTOOLS_CONFIG_H_ */
265
OLDNEW
« no previous file with comments | « third_party/tcmalloc/chromium/src/config_freebsd.h ('k') | third_party/tcmalloc/chromium/src/config_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698