The open source OpenXR runtime
1#include <limits.h>
2#if __WORDSIZE == 64
3# define BACKTRACE_ELF_SIZE 64
4#else
5# define BACKTRACE_ELF_SIZE 32
6#endif
7
8#define HAVE_DLFCN_H 1
9#define HAVE_FCNTL 1
10#define HAVE_INTTYPES_H 1
11#define HAVE_LSTAT 1
12#define HAVE_READLINK 1
13#define HAVE_DL_ITERATE_PHDR 1
14#define HAVE_ATOMIC_FUNCTIONS 1
15#define HAVE_DECL_STRNLEN 1
16
17#ifdef __APPLE__
18# define HAVE_MACH_O_DYLD_H 1
19#elif defined BSD
20# define HAVE_KERN_PROC 1
21# define HAVE_KERN_PROC_ARGS 1
22#endif