config.h revision 5821806d5e7f356e8fa4b058a389a808ea183019
15d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* A manual version of config.h fit for windows machines. */ 25d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 35d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Sometimes we accidentally #include this config.h instead of the one 45d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) in .. -- this is particularly true for msys/mingw, which uses the 55d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) unix config.h but also runs code in the windows directory. 65d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) */ 75d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#ifdef __MINGW32__ 823730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#include "../config.h" 95d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ 105d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#endif 115d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 125d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#ifndef GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ 135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ 145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 15a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* define this if you are linking tcmalloc statically and overriding the 16a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) * default allocators. 175d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) * For instructions on how to use this mode, see 185d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) * http://groups.google.com/group/google-perftools/browse_thread/thread/41cd3710af85e57b 195d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) */ 205d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef WIN32_OVERRIDE_ALLOCATORS 215d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 225d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if your libc has a snprintf implementation */ 235d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_SNPRINTF 245d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 255d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if compiler supports __builtin_stack_pointer */ 26a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_BUILTIN_STACK_POINTER 275d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2823730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)/* Define to 1 if you have the <conflict-signal.h> header file. */ 295d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_CONFLICT_SIGNAL_H 305d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 315d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the <cygwin/signal.h> header file. */ 325d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_CYGWIN_SIGNAL_H 3323730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles) 345d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the declaration of `cfree', and to 0 if you don't. 355d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) */ 365d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_DECL_CFREE 37a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 38a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the declaration of `memalign', and to 0 if you 39a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) don't. */ 40a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_DECL_MEMALIGN 41a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 42a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the declaration of `posix_memalign', and to 0 if 43a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) you don't. */ 44a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_DECL_POSIX_MEMALIGN 45a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 46a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the declaration of `pvalloc', and to 0 if you 47a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) don't. */ 48a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_DECL_PVALLOC 49a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 50a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the declaration of `uname', and to 0 if you don't. 51a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) */ 52a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_DECL_UNAME 53a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 54a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the declaration of `valloc', and to 0 if you don't. 55a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) */ 56a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_DECL_VALLOC 57a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 58a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <dlfcn.h> header file. */ 59a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_DLFCN_H 60a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 61a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if the system has the type `Elf32_Versym'. */ 62a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_ELF32_VERSYM 63a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 64a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <execinfo.h> header file. */ 65a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_EXECINFO_H 66a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 67a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <fcntl.h> header file. */ 68a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_FCNTL_H 69a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 70a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <features.h> header file. */ 71a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_FEATURES_H 72a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 73a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the `geteuid' function. */ 74a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_GETEUID 75a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 76a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the `getpagesize' function. */ 77a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#define HAVE_GETPAGESIZE 1 /* we define it in windows/port.cc */ 78a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 79a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <glob.h> header file. */ 80a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_GLOB_H 81a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 82a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <grp.h> header file. */ 83a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_GRP_H 84a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 85a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <inttypes.h> header file. */ 86a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_INTTYPES_H 87a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 88a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <libunwind.h> header file. */ 89a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_LIBUNWIND_H 90a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 91a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <linux/ptrace.h> header file. */ 92a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_LINUX_PTRACE_H 93a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 94a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <malloc.h> header file. */ 95a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#define HAVE_MALLOC_H 1 96a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 97a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <malloc/malloc.h> header file. */ 98a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_MALLOC_MALLOC_H 99a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 100a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <memory.h> header file. */ 101a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_MEMORY_H 102a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 103a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have a working `mmap' system call. */ 104a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_MMAP 105a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 1065d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* define if the compiler implements namespaces */ 1075d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define HAVE_NAMESPACES 1 108a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 109a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <poll.h> header file. */ 110a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_POLL_H 111a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 112a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* define if libc has program_invocation_name */ 1135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_PROGRAM_INVOCATION_NAME 1145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define if you have POSIX threads libraries and header files. */ 1165d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_PTHREAD 1175d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 11823730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)/* Define to 1 if you have the <pwd.h> header file. */ 11923730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles)#undef HAVE_PWD_H 12023730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles) 1215d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the `sbrk' function. */ 1225d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_SBRK 1235d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1245d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the <sched.h> header file. */ 1255d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_SCHED_H 1265d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 127effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch/* Define to 1 if you have the <stdint.h> header file. */ 128effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch#undef HAVE_STDINT_H 129effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch 130effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch/* Define to 1 if you have the <stdlib.h> header file. */ 131effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch#define HAVE_STDLIB_H 1 132effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch 133effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch/* Define to 1 if you have the <strings.h> header file. */ 134effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch#undef HAVE_STRINGS_H 135effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch 136effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch/* Define to 1 if you have the <string.h> header file. */ 137effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch#define HAVE_STRING_H 1 138effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch 139effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch/* Define to 1 if the system has the type `struct mallinfo'. */ 140effb81e5f8246d0db0270817048dc992db66e9fbBen Murdoch#undef HAVE_STRUCT_MALLINFO 1415d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1425d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the <sys/cdefs.h> header file. */ 1435d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_SYS_CDEFS_H 1445d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1455d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the <sys/malloc.h> header file. */ 1465d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_SYS_MALLOC_H 1475d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1485d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the <sys/param.h> header file. */ 149a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_SYS_PARAM_H 150a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 151a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <sys/prctl.h> header file. */ 152a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_SYS_PRCTL_H 153a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 154a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <sys/resource.h> header file. */ 155a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_SYS_RESOURCE_H 156a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 157a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <sys/socket.h> header file. */ 158a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_SYS_SOCKET_H 159a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 160a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <sys/stat.h> header file. */ 161a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#define HAVE_SYS_STAT_H 1 162a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 163a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <sys/syscall.h> header file. */ 164a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_SYS_SYSCALL_H 165a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 166a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <sys/types.h> header file. */ 167a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#define HAVE_SYS_TYPES_H 1 168a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 169a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* <sys/ucontext.h> is broken on redhat 7 */ 170a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_SYS_UCONTEXT_H 171a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 172a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to 1 if you have the <sys/wait.h> header file. */ 173a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_SYS_WAIT_H 174a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 1755d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if compiler supports __thread */ 1765d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define HAVE_TLS 1 1775d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1785d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the <ucontext.h> header file. */ 1795d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_UCONTEXT_H 1805d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1815d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the <unistd.h> header file. */ 1825d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_UNISTD_H 1835d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1845d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the <unwind.h> header file. */ 1855d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE_UNWIND_H 1865d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1875d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the <valgrind.h> header file. */ 188a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef HAVE_VALGRIND_H 1895d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1905d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* define if your compiler has __attribute__ */ 1915d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE___ATTRIBUTE__ 1925d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1935d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if compiler supports __environ */ 1945d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef HAVE___ENVIRON 1955d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1965d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if the system has the type `__int64'. */ 1975d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define HAVE___INT64 1 1985d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 1995d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* prefix where we look for installed files */ 2005d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef INSTALL_PREFIX 2015d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2025d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if int32_t is equivalent to intptr_t */ 2035d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef INT32_EQUALS_INTPTR 2045d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2055d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to the sub-directory in which libtool stores uninstalled libraries. 2065d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) */ 2075d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef LT_OBJDIR 2085d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2095d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 'volatile' if __malloc_hook is declared volatile */ 2105d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef MALLOC_HOOK_MAYBE_VOLATILE 2115d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2125d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if your C compiler doesn't accept -c and -o together. */ 2135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef NO_MINUS_C_MINUS_O 2145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Name of package */ 2165d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define PACKAGE "gperftools" 2175d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2185d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to the address where bug reports for this package should be sent. */ 2195d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define PACKAGE_BUGREPORT "opensource@google.com" 220a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 2215d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to the full name of this package. */ 2225d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define PACKAGE_NAME "gperftools" 2235d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2245d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to the full name and version of this package. */ 2255d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define PACKAGE_STRING "gperftools 2.0" 2265d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2275d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to the one symbol short name of this package. */ 2285d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define PACKAGE_TARNAME "gperftools" 2295d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2305d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to the home page for this package. */ 2315d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef PACKAGE_URL 232a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 2335d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to the version of this package. */ 2345d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define PACKAGE_VERSION "2.0" 2355d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2365d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* How to access the PC from a struct ucontext */ 2375d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef PC_FROM_UCONTEXT 2385d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2395d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Always the empty-string on non-windows systems. On windows, should be 2405d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) "__declspec(dllexport)". This way, when we compile the dll, we export our 2415d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) functions/classes. It's safe to define this here because config.h is only 2425d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) used internally, to compile the DLL, and every DLL source file #includes 2435d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) "config.h" before anything else. */ 2445d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#ifndef PERFTOOLS_DLL_DECL 2455d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# define PERFTOOLS_IS_A_DLL 1 /* not set if you're statically linking */ 2465d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# define PERFTOOLS_DLL_DECL __declspec(dllexport) 247a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)# define PERFTOOLS_DLL_DECL_FOR_UNITTESTS __declspec(dllimport) 248a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#endif 249a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 250a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* printf format code for printing a size_t and ssize_t */ 251a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#define PRIdS "Id" 252a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 253a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* printf format code for printing a size_t and ssize_t */ 254a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#define PRIuS "Iu" 255a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 256a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* printf format code for printing a size_t and ssize_t */ 257a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#define PRIxS "Ix" 258a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 259a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Mark the systems where we know it's bad if pthreads runs too 260a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) early before main (before threads are initialized, presumably). */ 261a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#ifdef __FreeBSD__ 262a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#define PTHREADS_CRASHES_IF_RUN_TOO_EARLY 1 263a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#endif 264a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 265a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* Define to necessary symbol if this constant uses a non-standard name on 266a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) your system. */ 267a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#undef PTHREAD_CREATE_JOINABLE 2685d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2695d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to 1 if you have the ANSI C header files. */ 2705d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define STDC_HEADERS 1 2715d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2725d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* the namespace where STL code like vector<> is defined */ 2735d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define STL_NAMESPACE std 2745d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2755d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Version number of package */ 2765d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef VERSION 2775d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 278a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)/* C99 says: define this to get the PRI... macros from stdint.h */ 2795d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#ifndef __STDC_FORMAT_MACROS 2805d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# define __STDC_FORMAT_MACROS 1 2815d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#endif 2825d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2835d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)/* Define to `__inline__' or `__inline' if that's what the C compiler 2845d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) calls it, or to nothing if 'inline' is not supported under any name. */ 2855d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#ifndef __cplusplus 2865d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#undef inline 2875d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#endif 2885d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2895d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// --------------------------------------------------------------------- 290a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)// Extra stuff not found in config.h.in 2915d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 2925d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// This must be defined before the windows.h is included. We need at 2935d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// least 0x0400 for mutex.h to have access to TryLock, and at least 2945d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// 0x0501 for patch_functions.cc to have access to GetModuleHandleEx. 295a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)// (This latter is an optimization we could take out if need be.) 296a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)#ifndef _WIN32_WINNT 2975d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# define _WIN32_WINNT 0x0501 2985d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#endif 2995d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 3005d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// We want to make sure not to ever try to #include heap-checker.h 3015d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define NO_HEAP_CHECK 1 3025d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 3035d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// TODO(csilvers): include windows/port.h in every relevant source file instead? 3045d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#include "windows/port.h" 3055d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 3065d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#endif /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */ 3075d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)