123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326 |
- /* src/config.h.in. Generated from configure.ac by autoheader. */
- #ifndef GPERFTOOLS_CONFIG_H_
- #define GPERFTOOLS_CONFIG_H_
- /* Build runtime detection for sized delete */
- #undef ENABLE_DYNAMIC_SIZED_DELETE
- /* Build sized deletion operators */
- #undef ENABLE_SIZED_DELETE
- /* Define to 1 if compiler supports __builtin_expect */
- #undef HAVE_BUILTIN_EXPECT
- /* Define to 1 if compiler supports __builtin_stack_pointer */
- #undef HAVE_BUILTIN_STACK_POINTER
- /* Define to 1 if you have the <conflict-signal.h> header file. */
- #undef HAVE_CONFLICT_SIGNAL_H
- /* Define to 1 if you have the <cygwin/signal.h> header file. */
- #undef HAVE_CYGWIN_SIGNAL_H
- /* Define to 1 if you have the declaration of `backtrace', and to 0 if you
- don't. */
- #undef HAVE_DECL_BACKTRACE
- /* Define to 1 if you have the declaration of `cfree', and to 0 if you don't.
- */
- #undef HAVE_DECL_CFREE
- /* Define to 1 if you have the declaration of `memalign', and to 0 if you
- don't. */
- #undef HAVE_DECL_MEMALIGN
- /* Define to 1 if you have the declaration of `nanosleep', and to 0 if you
- don't. */
- #undef HAVE_DECL_NANOSLEEP
- /* Define to 1 if you have the declaration of `posix_memalign', and to 0 if
- you don't. */
- #undef HAVE_DECL_POSIX_MEMALIGN
- /* Define to 1 if you have the declaration of `pvalloc', and to 0 if you
- don't. */
- #undef HAVE_DECL_PVALLOC
- /* Define to 1 if you have the declaration of `sleep', and to 0 if you don't.
- */
- #undef HAVE_DECL_SLEEP
- /* Define to 1 if you have the declaration of `uname', and to 0 if you don't.
- */
- #undef HAVE_DECL_UNAME
- /* Define to 1 if you have the declaration of `valloc', and to 0 if you don't.
- */
- #undef HAVE_DECL_VALLOC
- /* Define to 1 if you have the <dlfcn.h> header file. */
- #undef HAVE_DLFCN_H
- /* Define to 1 if the system has the type `Elf32_Versym'. */
- #undef HAVE_ELF32_VERSYM
- /* Define to 1 if you have the <execinfo.h> header file. */
- #undef HAVE_EXECINFO_H
- /* Define to 1 if you have the <fcntl.h> header file. */
- #undef HAVE_FCNTL_H
- /* Define to 1 if you have the <features.h> header file. */
- #undef HAVE_FEATURES_H
- /* Define to 1 if you have the `fork' function. */
- #undef HAVE_FORK
- /* Define to 1 if you have the `geteuid' function. */
- #undef HAVE_GETEUID
- /* Define to 1 if you have the `getpagesize' function. */
- #undef HAVE_GETPAGESIZE
- /* Define to 1 if you have the <glob.h> header file. */
- #undef HAVE_GLOB_H
- /* Define to 1 if you have the <grp.h> header file. */
- #undef HAVE_GRP_H
- /* Define to 1 if you have the <inttypes.h> header file. */
- #undef HAVE_INTTYPES_H
- /* Define to 1 if you have the <libunwind.h> header file. */
- #undef HAVE_LIBUNWIND_H
- /* Define to 1 if you have the <linux/ptrace.h> header file. */
- #undef HAVE_LINUX_PTRACE_H
- /* Define if this is Linux that has SIGEV_THREAD_ID */
- #undef HAVE_LINUX_SIGEV_THREAD_ID
- /* Define to 1 if you have the <malloc.h> header file. */
- #undef HAVE_MALLOC_H
- /* Define to 1 if you have the <memory.h> header file. */
- #undef HAVE_MEMORY_H
- /* Define to 1 if you have a working `mmap' system call. */
- #undef HAVE_MMAP
- /* define if the compiler implements namespaces */
- #undef HAVE_NAMESPACES
- /* Define to 1 if you have the <poll.h> header file. */
- #undef HAVE_POLL_H
- /* define if libc has program_invocation_name */
- #undef HAVE_PROGRAM_INVOCATION_NAME
- /* Define if you have POSIX threads libraries and header files. */
- #undef HAVE_PTHREAD
- /* defined to 1 if pthread symbols are exposed even without include pthread.h
- */
- #undef HAVE_PTHREAD_DESPITE_ASKING_FOR
- /* Define to 1 if you have the <pwd.h> header file. */
- #undef HAVE_PWD_H
- /* Define to 1 if you have the `sbrk' function. */
- #undef HAVE_SBRK
- /* Define to 1 if you have the <sched.h> header file. */
- #undef HAVE_SCHED_H
- /* Define to 1 if you have the <stdint.h> header file. */
- #undef HAVE_STDINT_H
- /* Define to 1 if you have the <stdlib.h> header file. */
- #undef HAVE_STDLIB_H
- /* Define to 1 if you have the <strings.h> header file. */
- #undef HAVE_STRINGS_H
- /* Define to 1 if you have the <string.h> header file. */
- #undef HAVE_STRING_H
- /* Define to 1 if the system has the type `struct mallinfo'. */
- #undef HAVE_STRUCT_MALLINFO
- /* Define to 1 if you have the <sys/cdefs.h> header file. */
- #undef HAVE_SYS_CDEFS_H
- /* Define to 1 if you have the <sys/param.h> header file. */
- #undef HAVE_SYS_PARAM_H
- /* Define to 1 if you have the <sys/prctl.h> header file. */
- #undef HAVE_SYS_PRCTL_H
- /* Define to 1 if you have the <sys/resource.h> header file. */
- #undef HAVE_SYS_RESOURCE_H
- /* Define to 1 if you have the <sys/socket.h> header file. */
- #undef HAVE_SYS_SOCKET_H
- /* Define to 1 if you have the <sys/stat.h> header file. */
- #undef HAVE_SYS_STAT_H
- /* Define to 1 if you have the <sys/syscall.h> header file. */
- #undef HAVE_SYS_SYSCALL_H
- /* Define to 1 if you have the <sys/types.h> header file. */
- #undef HAVE_SYS_TYPES_H
- /* Define to 1 if you have the <sys/ucontext.h> header file. */
- #undef HAVE_SYS_UCONTEXT_H
- /* Define to 1 if you have the <sys/wait.h> header file. */
- #undef HAVE_SYS_WAIT_H
- /* Define to 1 if compiler supports __thread */
- #undef HAVE_TLS
- /* Define to 1 if you have the <ucontext.h> header file. */
- #undef HAVE_UCONTEXT_H
- /* Define to 1 if you have the <unistd.h> header file. */
- #undef HAVE_UNISTD_H
- /* Whether <unwind.h> contains _Unwind_Backtrace */
- #undef HAVE_UNWIND_BACKTRACE
- /* Define to 1 if you have the <unwind.h> header file. */
- #undef HAVE_UNWIND_H
- /* Define to 1 if you have the <valgrind.h> header file. */
- #undef HAVE_VALGRIND_H
- /* define if your compiler has __attribute__ */
- #undef HAVE___ATTRIBUTE__
- /* Define to 1 if compiler supports __environ */
- #undef HAVE___ENVIRON
- /* Define to 1 if the system has the type `__int64'. */
- #undef HAVE___INT64
- /* prefix where we look for installed files */
- #undef INSTALL_PREFIX
- /* Define to 1 if int32_t is equivalent to intptr_t */
- #undef INT32_EQUALS_INTPTR
- /* Define to the sub-directory where libtool stores uninstalled libraries. */
- #undef LT_OBJDIR
- /* Define to 'volatile' if __malloc_hook is declared volatile */
- #undef MALLOC_HOOK_MAYBE_VOLATILE
- /* Name of package */
- #undef PACKAGE
- /* Define to the address where bug reports for this package should be sent. */
- #undef PACKAGE_BUGREPORT
- /* Define to the full name of this package. */
- #undef PACKAGE_NAME
- /* Define to the full name and version of this package. */
- #undef PACKAGE_STRING
- /* Define to the one symbol short name of this package. */
- #undef PACKAGE_TARNAME
- /* Define to the home page for this package. */
- #undef PACKAGE_URL
- /* Define to the version of this package. */
- #undef PACKAGE_VERSION
- /* How to access the PC from a struct ucontext */
- #undef PC_FROM_UCONTEXT
- /* Always the empty-string on non-windows systems. On windows, should be
- "__declspec(dllexport)". This way, when we compile the dll, we export our
- functions/classes. It's safe to define this here because config.h is only
- used internally, to compile the DLL, and every DLL source file #includes
- "config.h" before anything else. */
- #undef PERFTOOLS_DLL_DECL
- /* printf format code for printing a size_t and ssize_t */
- #undef PRIdS
- /* printf format code for printing a size_t and ssize_t */
- #undef PRIuS
- /* printf format code for printing a size_t and ssize_t */
- #undef PRIxS
- /* Mark the systems where we know it's bad if pthreads runs too
- early before main (before threads are initialized, presumably). */
- #ifdef __FreeBSD__
- #define PTHREADS_CRASHES_IF_RUN_TOO_EARLY 1
- #endif
- /* Define to necessary symbol if this constant uses a non-standard name on
- your system. */
- #undef PTHREAD_CREATE_JOINABLE
- /* Define to 1 if you have the ANSI C header files. */
- #undef STDC_HEADERS
- /* the namespace where STL code like vector<> is defined */
- #undef STL_NAMESPACE
- /* Define 32K of internal pages size for tcmalloc */
- #undef TCMALLOC_32K_PAGES
- /* Define 64K of internal pages size for tcmalloc */
- #undef TCMALLOC_64K_PAGES
- /* Define 8 bytes of allocation alignment for tcmalloc */
- #undef TCMALLOC_ALIGN_8BYTES
- /* Version number of package */
- #undef VERSION
- /* C99 says: define this to get the PRI... macros from stdint.h */
- #ifndef __STDC_FORMAT_MACROS
- # define __STDC_FORMAT_MACROS 1
- #endif
- /* Define to `__inline__' or `__inline' if that's what the C compiler
- calls it, or to nothing if 'inline' is not supported under any name. */
- #ifndef __cplusplus
- #undef inline
- #endif
- #ifdef __MINGW32__
- #include "windows/mingw.h"
- #endif
- #ifdef TCMALLOC_SGX
- #include <sgx_trts.h>
- #include <sgx_thread.h>
- #include <sgx_spinlock.h>
- enum {PTHREAD_ONCE_INIT = 0};
- #define pthread_once_t long
- #define pthread_key_t sgx_thread_t
- #define pthread_t sgx_thread_t
- #define pthread_self sgx_thread_self
- /*SGX special, implemented in sgx_utils.cc*/
- extern "C" char *getenv(const char *name);
- extern "C" int GetSystemCPUsCount();
- enum { STDIN_FILENO = 0, STDOUT_FILENO = 1, STDERR_FILENO = 2 };
- extern "C" size_t write(int fd, const void *buf, size_t count);
- extern "C" int getpagesize(); //it didn't delare include enclave's <unistd.h>
- #endif
- #endif /* #ifndef GPERFTOOLS_CONFIG_H_ */
|