15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* A manual version of config.h fit for windows machines. */
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Sometimes we accidentally #include this config.h instead of the one
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   in .. -- this is particularly true for msys/mingw, which uses the
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   unix config.h but also runs code in the windows directory.
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   */
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifdef __MINGW32__
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#include "../config.h"
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif
115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_
135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_
145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* define this if you are linking tcmalloc statically and overriding the
165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * default allocators.
175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * For instructions on how to use this mode, see
185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * http://groups.google.com/group/google-perftools/browse_thread/thread/41cd3710af85e57b
195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) */
205821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define WIN32_OVERRIDE_ALLOCATORS
215821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
225821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* the location of <hash_map> */
235821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HASH_MAP_H  <hash_map>
245821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
255821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* the namespace of hash_map/hash_set */
265821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HASH_NAMESPACE  stdext
275821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
285821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* the location of <hash_set> */
295821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HASH_SET_H  <hash_set>
305821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
315821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if your libc has a snprintf implementation */
325821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SNPRINTF
335821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
345821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if compiler supports __builtin_stack_pointer */
355821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_BUILTIN_STACK_POINTER
365821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
375821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <conflict-signal.h> header file. */
385821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_CONFLICT_SIGNAL_H
395821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
405821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <cygwin/signal.h> header file. */
415821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_CYGWIN_SIGNAL_H
425821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
435821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the declaration of `cfree', and to 0 if you don't.
445821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   */
455821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_DECL_CFREE
465821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
475821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the declaration of `memalign', and to 0 if you
485821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   don't. */
495821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_DECL_MEMALIGN
505821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
515821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the declaration of `posix_memalign', and to 0 if
525821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   you don't. */
535821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_DECL_POSIX_MEMALIGN
545821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
555821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the declaration of `pvalloc', and to 0 if you
565821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   don't. */
575821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_DECL_PVALLOC
585821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
595821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the declaration of `uname', and to 0 if you don't.
605821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   */
615821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_DECL_UNAME
625821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
635821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the declaration of `valloc', and to 0 if you don't.
645821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   */
655821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_DECL_VALLOC
665821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
675821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <dlfcn.h> header file. */
685821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_DLFCN_H
695821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
705821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if the system has the type `Elf32_Versym'. */
715821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_ELF32_VERSYM
725821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
735821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <execinfo.h> header file. */
745821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_EXECINFO_H
755821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
765821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <fcntl.h> header file. */
7790dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)#define HAVE_FCNTL_H 1
785821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
795821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <features.h> header file. */
805821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_FEATURES_H
815821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
825821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the `geteuid' function. */
835821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_GETEUID
845821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
855821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the `getpagesize' function. */
865821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HAVE_GETPAGESIZE 1   /* we define it in windows/port.cc */
875821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
885821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <glob.h> header file. */
895821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_GLOB_H
905821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
915821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <grp.h> header file. */
925821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_GRP_H
935821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
945821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* define if the compiler has hash_map */
955821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HAVE_HASH_MAP 1
965821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
975821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* define if the compiler has hash_set */
985821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HAVE_HASH_SET 1
995821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1005821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <inttypes.h> header file. */
1015821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_INTTYPES_H
1025821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1035821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <libunwind.h> header file. */
1045821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_LIBUNWIND_H
1055821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1065821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <linux/ptrace.h> header file. */
1075821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_LINUX_PTRACE_H
1085821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1095821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <malloc.h> header file. */
1105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_MALLOC_H
1115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <malloc/malloc.h> header file. */
1135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_MALLOC_MALLOC_H
1145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <memory.h> header file. */
1165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_MEMORY_H
1175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have a working `mmap' system call. */
1195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_MMAP
1205821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1215821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* define if the compiler implements namespaces */
1225821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HAVE_NAMESPACES 1
1235821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1245821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <poll.h> header file. */
1255821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_POLL_H
1265821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1275821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* define if libc has program_invocation_name */
1285821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_PROGRAM_INVOCATION_NAME
1295821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1305821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define if you have POSIX threads libraries and header files. */
1315821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_PTHREAD
1325821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1335821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <pwd.h> header file. */
1345821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_PWD_H
1355821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1365821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the `sbrk' function. */
1375821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SBRK
1385821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sched.h> header file. */
1395821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SCHED_H
1405821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1415821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <stdint.h> header file. */
1425821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_STDINT_H
1435821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1445821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <stdlib.h> header file. */
1455821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HAVE_STDLIB_H 1
1465821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1475821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <strings.h> header file. */
1485821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_STRINGS_H
1495821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1505821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <string.h> header file. */
1515821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HAVE_STRING_H 1
1525821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1535821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if the system has the type `struct mallinfo'. */
1545821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_STRUCT_MALLINFO
1555821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1565821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sys/cdefs.h> header file. */
1575821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SYS_CDEFS_H
1585821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1595821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sys/malloc.h> header file. */
1605821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SYS_MALLOC_H
1615821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1625821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sys/param.h> header file. */
1635821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SYS_PARAM_H
1645821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1655821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sys/prctl.h> header file. */
1665821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SYS_PRCTL_H
1675821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1685821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sys/resource.h> header file. */
1695821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SYS_RESOURCE_H
1705821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1715821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sys/socket.h> header file. */
1725821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SYS_SOCKET_H
1735821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1745821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sys/stat.h> header file. */
1755821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HAVE_SYS_STAT_H 1
1765821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1775821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sys/syscall.h> header file. */
1785821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SYS_SYSCALL_H
1795821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1805821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sys/time.h> header file. */
1815821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SYS_TIME_H
1825821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1835821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sys/types.h> header file. */
1845821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HAVE_SYS_TYPES_H 1
1855821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1865821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* <sys/ucontext.h> is broken on redhat 7 */
1875821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SYS_UCONTEXT_H
1885821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1895821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <sys/wait.h> header file. */
1905821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_SYS_WAIT_H
1915821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1925821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if compiler supports __thread */
1935821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_TLS
1945821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1955821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <ucontext.h> header file. */
1965821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_UCONTEXT_H
1975821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
1985821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <unistd.h> header file. */
1995821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_UNISTD_H
2005821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2015821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the <unwind.h> header file. */
2025821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE_UNWIND_H
2035821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2045821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* define if your compiler has __attribute__ */
2055821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE___ATTRIBUTE__
2065821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2075821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if compiler supports __environ */
2085821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef HAVE___ENVIRON
2095821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if the system has the type `__int64'. */
2115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define HAVE___INT64 1
2125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* prefix where we look for installed files */
2145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef INSTALL_PREFIX
2155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if int32_t is equivalent to intptr_t */
2175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef INT32_EQUALS_INTPTR
2185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to the sub-directory in which libtool stores uninstalled libraries.
2205821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   */
2215821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef LT_OBJDIR
2225821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2235821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if your C compiler doesn't accept -c and -o together. */
2245821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef NO_MINUS_C_MINUS_O
2255821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2265821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Name of package */
2275821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef PACKAGE
2285821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2295821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to the address where bug reports for this package should be sent. */
2305821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef PACKAGE_BUGREPORT
2315821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2325821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to the full name of this package. */
2335821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef PACKAGE_NAME
2345821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2355821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to the full name and version of this package. */
2365821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef PACKAGE_STRING
2375821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2385821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to the one symbol short name of this package. */
2395821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef PACKAGE_TARNAME
2405821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2415821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to the home page for this package. */
2425821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef PACKAGE_URL
2435821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2445821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to the version of this package. */
2455821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef PACKAGE_VERSION
2465821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2475821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* How to access the PC from a struct ucontext */
2485821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef PC_FROM_UCONTEXT
2495821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2505821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Always the empty-string on non-windows systems. On windows, should be
2515821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   "__declspec(dllexport)". This way, when we compile the dll, we export our
2525821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   functions/classes. It's safe to define this here because config.h is only
2535821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   used internally, to compile the DLL, and every DLL source file #includes
2545821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   "config.h" before anything else. */
2555821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef PERFTOOLS_DLL_DECL
2565821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)# define PERFTOOLS_IS_A_DLL  1   /* not set if you're statically linking */
2575821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)# define PERFTOOLS_DLL_DECL  __declspec(dllexport)
2585821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)# define PERFTOOLS_DLL_DECL_FOR_UNITTESTS  __declspec(dllimport)
2595821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif
2605821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2615821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* printf format code for printing a size_t and ssize_t */
2625821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define PRIdS  "Id"
2635821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2645821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* printf format code for printing a size_t and ssize_t */
2655821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define PRIuS  "Iu"
2665821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2675821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* printf format code for printing a size_t and ssize_t */
2685821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define PRIxS  "Ix"
2695821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2705821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to necessary symbol if this constant uses a non-standard name on
2715821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   your system. */
2725821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef PTHREAD_CREATE_JOINABLE
2735821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2745821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to 1 if you have the ANSI C header files. */
2755821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define STDC_HEADERS 1
2765821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2775821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* the namespace where STL code like vector<> is defined */
2785821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define STL_NAMESPACE  std
2795821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2805821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Version number of package */
2815821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef VERSION
2825821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2835821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* C99 says: define this to get the PRI... macros from stdint.h */
2845821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef __STDC_FORMAT_MACROS
2855821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)# define __STDC_FORMAT_MACROS 1
2865821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif
2875821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2885821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Define to `__inline__' or `__inline' if that's what the C compiler
2895821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)   calls it, or to nothing if 'inline' is not supported under any name.  */
2905821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef __cplusplus
2915821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#undef inline
2925821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif
2935821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2945821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// ---------------------------------------------------------------------
2955821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Extra stuff not found in config.h.in
2965821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
2975821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// This must be defined before the windows.h is included.  We need at
2985821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// least 0x0400 for mutex.h to have access to TryLock, and at least
2995821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// 0x0501 for patch_functions.cc to have access to GetModuleHandleEx.
3005821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// (This latter is an optimization we could take out if need be.)
3015821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef _WIN32_WINNT
3025821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)# define _WIN32_WINNT 0x0501
3035821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif
3045821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
3055821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// We want to make sure not to ever try to #include heap-checker.h
3065821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define NO_HEAP_CHECK 1
3075821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
3085821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// TODO(csilvers): include windows/port.h in every relevant source file instead?
3095821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#include "windows/port.h"
3105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
3115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif  /* GOOGLE_PERFTOOLS_WINDOWS_CONFIG_H_ */
312