1#define THREAD_LOCAL __thread
2#define ATTRIBUTE_NORETURN __attribute__ ((noreturn))
3#define ATTRIBUTE_NOINLINE __attribute__ ((noinline))
4
5#define GCC_VERSION (__GNUC__ * 10000 \
6 + __GNUC_MINOR__ * 100 \
7 + __GNUC_PATCHLEVEL__)
8
9/* #undef LIBUNWIND_FOUND */
10/* #undef HAVE_DLADDR */
11#define OS_LINUX
12/* #undef OS_MACOSX */
13/* #undef ENABLE_FRAME_POINTER */
14/* #undef HAVE_SYMBOLIZE */
15/* #undef NEED_BOOST */
16/* #undef STRERROR_R_RETURN_INT */
17#define HAVE_STEADY_CLOCK
18#define HAVE_NESTED_EXCEPTION
19/* #undef HAVE_BOOST_CHRONO */
20#define HAVE_STD_CHRONO
21/* #undef HAVE_BOOST_ATOMIC */
22#define HAVE_STD_ATOMIC
23/* #undef WITH_KERBEROS */
24
25// defined by gcc
26#if defined(__ELF__) && defined(OS_LINUX)
27# define HAVE_SYMBOLIZE
28#elif defined(OS_MACOSX) && defined(HAVE_DLADDR)
29// Use dladdr to symbolize.
30# define HAVE_SYMBOLIZE
31#endif
32
33#define STACK_LENGTH 64
34