1 /* src/config.h.  Generated from config.h.in by configure.  */
2 /* src/config.h.in.  Generated from configure.ac by autoheader.  */
3 
4 #ifndef GPERFTOOLS_CONFIG_H_
5 #define GPERFTOOLS_CONFIG_H_
6 
7 /* Build new/delete operators for overaligned types */
8 /* #undef ENABLE_ALIGNED_NEW_DELETE */
9 
10 /* Build runtime detection for sized delete */
11 /* #undef ENABLE_DYNAMIC_SIZED_DELETE */
12 
13 /* Build sized deletion operators */
14 /* #undef ENABLE_SIZED_DELETE */
15 
16 /* Define to 1 if compiler supports __builtin_expect */
17 #if defined(__GNUC__)
18 #define HAVE_BUILTIN_EXPECT 1
19 #endif
20 
21 /* Define to 1 if compiler supports __builtin_stack_pointer */
22 /* #undef HAVE_BUILTIN_STACK_POINTER */
23 
24 /* Define to 1 if you have the <conflict-signal.h> header file. */
25 /* #undef HAVE_CONFLICT_SIGNAL_H */
26 
27 /* Define to 1 if you have the <cygwin/signal.h> header file. */
28 /* #undef HAVE_CYGWIN_SIGNAL_H */
29 
30 /* Define to 1 if you have the declaration of `backtrace', and to 0 if you
31    don't. */
32 /* #undef HAVE_DECL_BACKTRACE */
33 
34 /* Define to 1 if you have the declaration of `cfree', and to 0 if you don't.
35  */
36 #define HAVE_DECL_CFREE 1
37 
38 /* Define to 1 if you have the declaration of `memalign', and to 0 if you
39    don't. */
40 #define HAVE_DECL_MEMALIGN 1
41 
42 /* Define to 1 if you have the declaration of `nanosleep', and to 0 if you
43    don't. */
44 /* #undef HAVE_DECL_NANOSLEEP */
45 
46 /* Define to 1 if you have the declaration of `posix_memalign', and to 0 if
47    you don't. */
48 #define HAVE_DECL_POSIX_MEMALIGN 1
49 
50 /* Define to 1 if you have the declaration of `pvalloc', and to 0 if you
51    don't. */
52 #define HAVE_DECL_PVALLOC 1
53 
54 /* Define to 1 if you have the declaration of `sleep', and to 0 if you don't.
55  */
56 /* #undef HAVE_DECL_SLEEP */
57 
58 /* Define to 1 if you have the declaration of `uname', and to 0 if you don't.
59  */
60 #define HAVE_DECL_UNAME 1
61 
62 /* Define to 1 if you have the declaration of `valloc', and to 0 if you don't.
63  */
64 #define HAVE_DECL_VALLOC 1
65 
66 /* Define to 1 if you have the <dlfcn.h> header file. */
67 #define HAVE_DLFCN_H 1
68 
69 /* Define to 1 if the system has the type `Elf32_Versym'. */
70 #define HAVE_ELF32_VERSYM 1
71 
72 /* Define to 1 if you have the <execinfo.h> header file. */
73 #define HAVE_EXECINFO_H 1
74 
75 /* Define to 1 if you have the <fcntl.h> header file. */
76 #define HAVE_FCNTL_H 1
77 
78 /* Define to 1 if you have the <features.h> header file. */
79 #define HAVE_FEATURES_H 1
80 
81 /* Define to 1 if you have the `fork' function. */
82 #define HAVE_FORK 1
83 
84 /* Define to 1 if you have the `geteuid' function. */
85 #define HAVE_GETEUID 1
86 
87 /* Define to 1 if you have the `getpagesize' function. */
88 #define HAVE_GETPAGESIZE 1
89 
90 /* Define to 1 if you have the <glob.h> header file. */
91 #define HAVE_GLOB_H 1
92 
93 /* Define to 1 if you have the <grp.h> header file. */
94 #define HAVE_GRP_H 1
95 
96 /* Define to 1 if you have the <inttypes.h> header file. */
97 #define HAVE_INTTYPES_H 1
98 
99 /* Define to 1 if you have the <libunwind.h> header file. */
100 /* #undef HAVE_LIBUNWIND_H */
101 
102 /* Define to 1 if you have the <linux/ptrace.h> header file. */
103 #define HAVE_LINUX_PTRACE_H 1
104 
105 /* Define if this is Linux that has SIGEV_THREAD_ID */
106 #define HAVE_LINUX_SIGEV_THREAD_ID 1
107 
108 /* Define to 1 if you have the <malloc.h> header file. */
109 #define HAVE_MALLOC_H 1
110 
111 /* Define to 1 if you have the <memory.h> header file. */
112 #define HAVE_MEMORY_H 1
113 
114 /* Define to 1 if you have a working `mmap' system call. */
115 #define HAVE_MMAP 1
116 
117 /* define if the compiler implements namespaces */
118 #define HAVE_NAMESPACES 1
119 
120 /* Define to 1 if you have the <poll.h> header file. */
121 #define HAVE_POLL_H 1
122 
123 /* define if libc has program_invocation_name */
124 #define HAVE_PROGRAM_INVOCATION_NAME 1
125 
126 /* Define if you have POSIX threads libraries and header files. */
127 #define HAVE_PTHREAD 1
128 
129 /* defined to 1 if pthread symbols are exposed even without include pthread.h
130  */
131 /* #undef HAVE_PTHREAD_DESPITE_ASKING_FOR */
132 
133 /* Define to 1 if you have the <pwd.h> header file. */
134 #define HAVE_PWD_H 1
135 
136 /* Define to 1 if you have the `sbrk' function. */
137 #define HAVE_SBRK 1
138 
139 /* Define to 1 if you have the <sched.h> header file. */
140 #define HAVE_SCHED_H 1
141 
142 /* Define to 1 if you have the <stdint.h> header file. */
143 #define HAVE_STDINT_H 1
144 
145 /* Define to 1 if you have the <stdlib.h> header file. */
146 #define HAVE_STDLIB_H 1
147 
148 /* Define to 1 if you have the <strings.h> header file. */
149 #define HAVE_STRINGS_H 1
150 
151 /* Define to 1 if you have the <string.h> header file. */
152 #define HAVE_STRING_H 1
153 
154 /* Define to 1 if the system has the type `struct mallinfo'. */
155 #define HAVE_STRUCT_MALLINFO 1
156 
157 /* Define to 1 if you have the <sys/cdefs.h> header file. */
158 #define HAVE_SYS_CDEFS_H 1
159 
160 /* Define to 1 if you have the <sys/param.h> header file. */
161 #define HAVE_SYS_PARAM_H 1
162 
163 /* Define to 1 if you have the <sys/prctl.h> header file. */
164 #define HAVE_SYS_PRCTL_H 1
165 
166 /* Define to 1 if you have the <sys/resource.h> header file. */
167 #define HAVE_SYS_RESOURCE_H 1
168 
169 /* Define to 1 if you have the <sys/socket.h> header file. */
170 #define HAVE_SYS_SOCKET_H 1
171 
172 /* Define to 1 if you have the <sys/stat.h> header file. */
173 #define HAVE_SYS_STAT_H 1
174 
175 /* Define to 1 if you have the <sys/syscall.h> header file. */
176 #define HAVE_SYS_SYSCALL_H 1
177 
178 /* Define to 1 if you have the <sys/types.h> header file. */
179 #define HAVE_SYS_TYPES_H 1
180 
181 /* Define to 1 if you have the <sys/ucontext.h> header file. */
182 #define HAVE_SYS_UCONTEXT_H 1
183 
184 /* Define to 1 if you have the <sys/wait.h> header file. */
185 #define HAVE_SYS_WAIT_H 1
186 
187 /* Define to 1 if compiler supports __thread */
188 #define HAVE_TLS 1
189 
190 /* Define to 1 if you have the <ucontext.h> header file. */
191 #define HAVE_UCONTEXT_H 1
192 
193 /* Define to 1 if you have the <unistd.h> header file. */
194 #define HAVE_UNISTD_H 1
195 
196 /* Whether <unwind.h> contains _Unwind_Backtrace */
197 #define HAVE_UNWIND_BACKTRACE 1
198 
199 /* Define to 1 if you have the <unwind.h> header file. */
200 #define HAVE_UNWIND_H 1
201 
202 /* Define to 1 if you have the <valgrind.h> header file. */
203 /* #undef HAVE_VALGRIND_H */
204 
205 /* define if your compiler has __attribute__ */
206 #define HAVE___ATTRIBUTE__ 1
207 
208 /* define if your compiler supports alignment of functions */
209 #define HAVE___ATTRIBUTE__ALIGNED_FN 1
210 
211 /* Define to 1 if compiler supports __environ */
212 #define HAVE___ENVIRON 1
213 
214 /* Define to 1 if the system has the type `__int64'. */
215 /* #undef HAVE___INT64 */
216 
217 /* prefix where we look for installed files */
218 #define INSTALL_PREFIX "/usr/local"
219 
220 /* Define to 1 if int32_t is equivalent to intptr_t */
221 /* #undef INT32_EQUALS_INTPTR */
222 
223 /* Define to the sub-directory where libtool stores uninstalled libraries. */
224 #define LT_OBJDIR ".libs/"
225 
226 /* Name of package */
227 #define PACKAGE "gperftools"
228 
229 /* Define to the address where bug reports for this package should be sent. */
230 #define PACKAGE_BUGREPORT "gperftools@googlegroups.com"
231 
232 /* Define to the full name of this package. */
233 #define PACKAGE_NAME "gperftools"
234 
235 /* Define to the full name and version of this package. */
236 #define PACKAGE_STRING "gperftools 2.7"
237 
238 /* Define to the one symbol short name of this package. */
239 #define PACKAGE_TARNAME "gperftools"
240 
241 /* Define to the home page for this package. */
242 #define PACKAGE_URL ""
243 
244 /* Define to the version of this package. */
245 #define PACKAGE_VERSION "2.7"
246 
247 /* How to access the PC from a struct ucontext */
248 /* TODO(asharif): configure.ac should be changed such that this define gets
249  * generated automatically. That change should go to upstream and then pulled
250  * back here. */
251 #if defined(__arm__)
252 #define PC_FROM_UCONTEXT uc_mcontext.arm_pc
253 #else
254 #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP]
255 #endif
256 
257 /* Always the empty-string on non-windows systems. On windows, should be
258    "__declspec(dllexport)". This way, when we compile the dll, we export our
259    functions/classes. It's safe to define this here because config.h is only
260    used internally, to compile the DLL, and every DLL source file #includes
261    "config.h" before anything else. */
262 #define PERFTOOLS_DLL_DECL /**/
263 
264 /* printf format code for printing a size_t and ssize_t */
265 #define PRIdS "zd"
266 
267 /* printf format code for printing a size_t and ssize_t */
268 #define PRIuS "zu"
269 
270 /* printf format code for printing a size_t and ssize_t */
271 #define PRIxS "zx"
272 
273 /* Mark the systems where we know it's bad if pthreads runs too
274    early before main (before threads are initialized, presumably).  */
275 #ifdef __FreeBSD__
276 #define PTHREADS_CRASHES_IF_RUN_TOO_EARLY 1
277 #endif
278 
279 /* Define to necessary symbol if this constant uses a non-standard name on
280    your system. */
281 /* #undef PTHREAD_CREATE_JOINABLE */
282 
283 /* Define to 1 if you have the ANSI C header files. */
284 #define STDC_HEADERS 1
285 
286 /* the namespace where STL code like vector<> is defined */
287 #define STL_NAMESPACE std
288 
289 /* Define 32K of internal pages size for tcmalloc */
290 /* #undef TCMALLOC_32K_PAGES */
291 
292 /* Define 64K of internal pages size for tcmalloc */
293 /* #undef TCMALLOC_64K_PAGES */
294 
295 /* Define 8 bytes of allocation alignment for tcmalloc */
296 /* #undef TCMALLOC_ALIGN_8BYTES */
297 
298 /* Version number of package */
299 #define VERSION "2.7"
300 
301 /* C99 says: define this to get the PRI... macros from stdint.h */
302 #ifndef __STDC_FORMAT_MACROS
303 #define __STDC_FORMAT_MACROS 1
304 #endif
305 
306 /* Define to `__inline__' or `__inline' if that's what the C compiler
307    calls it, or to nothing if 'inline' is not supported under any name.  */
308 #ifndef __cplusplus
309 /* #undef inline */
310 #endif
311 
312 #ifdef __MINGW32__
313 #include "windows/mingw.h"
314 #endif
315 
316 #endif /* #ifndef GPERFTOOLS_CONFIG_H_ */
317