OLD | NEW |
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 /* Define to 1 if you have the <libunwind.h> header file. */ | 88 /* Define to 1 if you have the <libunwind.h> header file. */ |
89 #undef HAVE_LIBUNWIND_H | 89 #undef HAVE_LIBUNWIND_H |
90 | 90 |
91 /* Define to 1 if you have the <linux/ptrace.h> header file. */ | 91 /* Define to 1 if you have the <linux/ptrace.h> header file. */ |
92 #undef HAVE_LINUX_PTRACE_H | 92 #undef HAVE_LINUX_PTRACE_H |
93 | 93 |
94 /* Define to 1 if you have the <malloc.h> header file. */ | 94 /* Define to 1 if you have the <malloc.h> header file. */ |
95 #define HAVE_MALLOC_H 1 | 95 #define HAVE_MALLOC_H 1 |
96 | 96 |
| 97 /* Define to 1 if you have the <malloc/malloc.h> header file. */ |
| 98 #undef HAVE_MALLOC_MALLOC_H |
| 99 |
97 /* Define to 1 if you have the <memory.h> header file. */ | 100 /* Define to 1 if you have the <memory.h> header file. */ |
98 #undef HAVE_MEMORY_H | 101 #undef HAVE_MEMORY_H |
99 | 102 |
100 /* Define to 1 if you have a working `mmap' system call. */ | 103 /* Define to 1 if you have a working `mmap' system call. */ |
101 #undef HAVE_MMAP | 104 #undef HAVE_MMAP |
102 | 105 |
103 /* define if the compiler implements namespaces */ | 106 /* define if the compiler implements namespaces */ |
104 #define HAVE_NAMESPACES 1 | 107 #define HAVE_NAMESPACES 1 |
105 | 108 |
106 /* Define to 1 if you have the <poll.h> header file. */ | 109 /* Define to 1 if you have the <poll.h> header file. */ |
(...skipping 22 matching lines...) Expand all Loading... |
129 | 132 |
130 /* Define to 1 if you have the <strings.h> header file. */ | 133 /* Define to 1 if you have the <strings.h> header file. */ |
131 #undef HAVE_STRINGS_H | 134 #undef HAVE_STRINGS_H |
132 | 135 |
133 /* Define to 1 if you have the <string.h> header file. */ | 136 /* Define to 1 if you have the <string.h> header file. */ |
134 #define HAVE_STRING_H 1 | 137 #define HAVE_STRING_H 1 |
135 | 138 |
136 /* Define to 1 if the system has the type `struct mallinfo'. */ | 139 /* Define to 1 if the system has the type `struct mallinfo'. */ |
137 #undef HAVE_STRUCT_MALLINFO | 140 #undef HAVE_STRUCT_MALLINFO |
138 | 141 |
| 142 /* Define to 1 if you have the <sys/cdefs.h> header file. */ |
| 143 #undef HAVE_SYS_CDEFS_H |
| 144 |
| 145 /* Define to 1 if you have the <sys/malloc.h> header file. */ |
| 146 #undef HAVE_SYS_MALLOC_H |
| 147 |
139 /* Define to 1 if you have the <sys/param.h> header file. */ | 148 /* Define to 1 if you have the <sys/param.h> header file. */ |
140 #undef HAVE_SYS_PARAM_H | 149 #undef HAVE_SYS_PARAM_H |
141 | 150 |
142 /* Define to 1 if you have the <sys/prctl.h> header file. */ | 151 /* Define to 1 if you have the <sys/prctl.h> header file. */ |
143 #undef HAVE_SYS_PRCTL_H | 152 #undef HAVE_SYS_PRCTL_H |
144 | 153 |
145 /* Define to 1 if you have the <sys/resource.h> header file. */ | 154 /* Define to 1 if you have the <sys/resource.h> header file. */ |
146 #undef HAVE_SYS_RESOURCE_H | 155 #undef HAVE_SYS_RESOURCE_H |
147 | 156 |
148 /* Define to 1 if you have the <sys/socket.h> header file. */ | 157 /* Define to 1 if you have the <sys/socket.h> header file. */ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 /* prefix where we look for installed files */ | 199 /* prefix where we look for installed files */ |
191 #undef INSTALL_PREFIX | 200 #undef INSTALL_PREFIX |
192 | 201 |
193 /* Define to 1 if int32_t is equivalent to intptr_t */ | 202 /* Define to 1 if int32_t is equivalent to intptr_t */ |
194 #undef INT32_EQUALS_INTPTR | 203 #undef INT32_EQUALS_INTPTR |
195 | 204 |
196 /* Define to the sub-directory in which libtool stores uninstalled libraries. | 205 /* Define to the sub-directory in which libtool stores uninstalled libraries. |
197 */ | 206 */ |
198 #undef LT_OBJDIR | 207 #undef LT_OBJDIR |
199 | 208 |
| 209 /* Define to 'volatile' if __malloc_hook is declared volatile */ |
| 210 #undef MALLOC_HOOK_MAYBE_VOLATILE |
| 211 |
200 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ | 212 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ |
201 #undef NO_MINUS_C_MINUS_O | 213 #undef NO_MINUS_C_MINUS_O |
202 | 214 |
203 /* Name of package */ | 215 /* Name of package */ |
204 #define PACKAGE "google-perftools" | 216 #define PACKAGE "gperftools" |
205 | 217 |
206 /* Define to the address where bug reports for this package should be sent. */ | 218 /* Define to the address where bug reports for this package should be sent. */ |
207 #define PACKAGE_BUGREPORT "opensource@google.com" | 219 #define PACKAGE_BUGREPORT "opensource@google.com" |
208 | 220 |
209 /* Define to the full name of this package. */ | 221 /* Define to the full name of this package. */ |
210 #define PACKAGE_NAME "google-perftools" | 222 #define PACKAGE_NAME "gperftools" |
211 | 223 |
212 /* Define to the full name and version of this package. */ | 224 /* Define to the full name and version of this package. */ |
213 #define PACKAGE_STRING "google-perftools 1.7" | 225 #define PACKAGE_STRING "gperftools 2.0" |
214 | 226 |
215 /* Define to the one symbol short name of this package. */ | 227 /* Define to the one symbol short name of this package. */ |
216 #define PACKAGE_TARNAME "google-perftools" | 228 #define PACKAGE_TARNAME "gperftools" |
217 | 229 |
218 /* Define to the home page for this package. */ | 230 /* Define to the home page for this package. */ |
219 #undef PACKAGE_URL | 231 #undef PACKAGE_URL |
220 | 232 |
221 /* Define to the version of this package. */ | 233 /* Define to the version of this package. */ |
222 #define PACKAGE_VERSION "1.7" | 234 #define PACKAGE_VERSION "2.0" |
223 | 235 |
224 /* How to access the PC from a struct ucontext */ | 236 /* How to access the PC from a struct ucontext */ |
225 #undef PC_FROM_UCONTEXT | 237 #undef PC_FROM_UCONTEXT |
226 | 238 |
227 /* Always the empty-string on non-windows systems. On windows, should be | 239 /* Always the empty-string on non-windows systems. On windows, should be |
228 "__declspec(dllexport)". This way, when we compile the dll, we export our | 240 "__declspec(dllexport)". This way, when we compile the dll, we export our |
229 functions/classes. It's safe to define this here because config.h is only | 241 functions/classes. It's safe to define this here because config.h is only |
230 used internally, to compile the DLL, and every DLL source file #includes | 242 used internally, to compile the DLL, and every DLL source file #includes |
231 "config.h" before anything else. */ | 243 "config.h" before anything else. */ |
232 #ifndef PERFTOOLS_DLL_DECL | 244 #ifndef PERFTOOLS_DLL_DECL |
233 # define PERFTOOLS_IS_A_DLL 1 /* not set if you're statically linking */ | 245 # define PERFTOOLS_IS_A_DLL 1 /* not set if you're statically linking */ |
234 # define PERFTOOLS_DLL_DECL __declspec(dllexport) | 246 # define PERFTOOLS_DLL_DECL __declspec(dllexport) |
235 # define PERFTOOLS_DLL_DECL_FOR_UNITTESTS __declspec(dllimport) | 247 # define PERFTOOLS_DLL_DECL_FOR_UNITTESTS __declspec(dllimport) |
236 #endif | 248 #endif |
237 | 249 |
238 /* printf format code for printing a size_t and ssize_t */ | 250 /* printf format code for printing a size_t and ssize_t */ |
239 #define PRIdS "Id" | 251 #define PRIdS "Id" |
240 | 252 |
241 /* printf format code for printing a size_t and ssize_t */ | 253 /* printf format code for printing a size_t and ssize_t */ |
242 #define PRIuS "Iu" | 254 #define PRIuS "Iu" |
243 | 255 |
244 /* printf format code for printing a size_t and ssize_t */ | 256 /* printf format code for printing a size_t and ssize_t */ |
245 #define PRIxS "Ix" | 257 #define PRIxS "Ix" |
246 | 258 |
| 259 /* Mark the systems where we know it's bad if pthreads runs too |
| 260 early before main (before threads are initialized, presumably). */ |
| 261 #ifdef __FreeBSD__ |
| 262 #define PTHREADS_CRASHES_IF_RUN_TOO_EARLY 1 |
| 263 #endif |
| 264 |
247 /* Define to necessary symbol if this constant uses a non-standard name on | 265 /* Define to necessary symbol if this constant uses a non-standard name on |
248 your system. */ | 266 your system. */ |
249 #undef PTHREAD_CREATE_JOINABLE | 267 #undef PTHREAD_CREATE_JOINABLE |
250 | 268 |
251 /* Define to 1 if you have the ANSI C header files. */ | 269 /* Define to 1 if you have the ANSI C header files. */ |
252 #define STDC_HEADERS 1 | 270 #define STDC_HEADERS 1 |
253 | 271 |
254 /* the namespace where STL code like vector<> is defined */ | 272 /* the namespace where STL code like vector<> is defined */ |
255 #define STL_NAMESPACE std | 273 #define STL_NAMESPACE std |
256 | 274 |
(...skipping 22 matching lines...) Expand all Loading... |
279 # define _WIN32_WINNT 0x0501 | 297 # define _WIN32_WINNT 0x0501 |
280 #endif | 298 #endif |
281 | 299 |
282 // We want to make sure not to ever try to #include heap-checker.h | 300 // We want to make sure not to ever try to #include heap-checker.h |
283 #define NO_HEAP_CHECK 1 | 301 #define NO_HEAP_CHECK 1 |
284 | 302 |
285 // TODO(csilvers): include windows/port.h in every relevant source file instead? | 303 // TODO(csilvers): include windows/port.h in every relevant source file instead? |
286 #include "windows/port.h" | 304 #include "windows/port.h" |
287 | 305 |
288 #endif /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */ | 306 #endif /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */ |
OLD | NEW |