1 // This is not a real config. 2 3 #ifndef LLBUILD_LLVM_CONFIG_H 4 #define LLBUILD_LLVM_CONFIG_H 5 6 #include "llvm/Config/llvm-config.h" 7 8 #if !defined(__has_include) 9 #define __has_include(x) 0 10 #endif 11 12 /* Define if you want backtraces on crash */ 13 #define ENABLE_BACKTRACES 14 15 /* Define to enable crash overrides */ 16 #undef ENABLE_CRASH_OVERRIDES 17 18 /* Define to 1 if you have the `arc4random' function. */ 19 #if defined(__APPLE__) 20 #define HAVE_DECL_ARC4RANDOM 1 21 #else 22 /*#undef HAVE_DECL_ARC4RANDOM */ 23 #endif 24 25 /* Define to 1 if you have the `backtrace' function. */ 26 #define HAVE_BACKTRACE 1 27 28 /* Define to 1 if you have the <cxxabi.h> header file. */ 29 #define HAVE_CXXABI_H 1 30 31 /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you 32 don't. */ 33 #if defined(LLVM_ON_WIN32) 34 #define HAVE_DECL_STRERROR_S 1 35 #else 36 #define HAVE_DECL_STRERROR_S 0 37 #endif 38 39 /* Define to 1 if you have the DIA SDK installed, and to 0 if you don't. */ 40 /* #undef HAVE_DIA_SDK */ 41 42 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 43 */ 44 #define HAVE_DIRENT_H 1 45 46 /* Define to 1 if you have the <dlfcn.h> header file. */ 47 #define HAVE_DLFCN_H 1 48 49 /* Define if dlopen() is available on this platform. */ 50 #define HAVE_DLOPEN 1 51 52 /* Define to 1 if you have the <errno.h> header file. */ 53 #define HAVE_ERRNO_H 1 54 55 /* Define to 1 if you have the <execinfo.h> header file. */ 56 #define HAVE_EXECINFO_H 1 57 58 /* Define to 1 if you have the <fcntl.h> header file. */ 59 #define HAVE_FCNTL_H 1 60 61 /* Define to 1 if you have the `futimes' function. */ 62 #define HAVE_FUTIMES 1 63 64 /* Define to 1 if you have the `futimens' function */ 65 /* #undef HAVE_FUTIMENS */ 66 67 /* Define to 1 if you have the `getpagesize' function. */ 68 #define HAVE_GETPAGESIZE 1 69 70 /* Define to 1 if you have the `getrlimit' function. */ 71 #define HAVE_GETRLIMIT 1 72 73 /* Define to 1 if you have the `getrusage' function. */ 74 #define HAVE_GETRUSAGE 1 75 76 /* Define to 1 if the system has the type `int64_t'. */ 77 #define HAVE_INT64_T 1 78 79 /* Define to 1 if you have the <inttypes.h> header file. */ 80 #define HAVE_INTTYPES_H 1 81 82 /* Define to 1 if you have the `isatty' function. */ 83 #define HAVE_ISATTY 1 84 85 /* Define to 1 if you have the <link.h> header file. */ 86 /* #undef HAVE_LINK_H */ 87 88 /* Define to 1 if you have the <mach/mach.h> header file. */ 89 #if __has_include(<mach/mach.h>) 90 #define HAVE_MACH_MACH_H 1 91 #else 92 /* #undef HAVE_MACH_MACH_H */ 93 #endif 94 95 /* Define if mallinfo() is available on this platform. */ 96 #if __has_include(<mallinfo.h>) 97 #define HAVE_MALLINFO 1 98 #else 99 /* #undef HAVE_MALLINFO */ 100 #endif 101 102 /* Define to 1 if you have the <malloc.h> header file. */ 103 #if __has_include(<malloc.h>) 104 #define HAVE_MALLOC_H 105 #else 106 /* #undef HAVE_MALLOC_H */ 107 #endif 108 109 /* Define to 1 if you have the <malloc/malloc.h> header file. */ 110 #if __has_include(<malloc/malloc.h>) 111 #define HAVE_MALLOC_MALLOC_H 1 112 #else 113 /* #undef HAVE_MALLOC_MALLOC_H */ 114 #endif 115 116 /* Define to 1 if you have the `malloc_zone_statistics' function. */ 117 #define HAVE_MALLOC_ZONE_STATISTICS 1 118 119 /* Define to 1 if you have the `mallctl` function. */ 120 /* #undef HAVE_MALLCTL */ 121 122 /* Define to 1 if you have a working `mmap' system call. */ 123 #undef HAVE_MMAP 124 125 /* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if 126 it uses MAP_ANON */ 127 #undef HAVE_MMAP_ANONYMOUS 128 129 /* Define if mmap() can map files into memory */ 130 #undef HAVE_MMAP_FILE 131 132 /* Define to 1 if you have the `posix_spawn' function. */ 133 #define HAVE_POSIX_SPAWN 1 134 135 /* Define to 1 if you have the `pread' function. */ 136 #if !defined(LLVM_ON_WIN32) 137 #define HAVE_PREAD 1 138 #endif 139 140 /* Define to 1 if you have the <pthread.h> header file. */ 141 #if !defined(LLVM_ON_WIN32) 142 #define HAVE_PTHREAD_H 1 143 #endif 144 145 /* Have pthread_mutex_lock */ 146 #if !defined(LLVM_ON_WIN32) 147 #define HAVE_PTHREAD_MUTEX_LOCK 1 148 #endif 149 150 /* Define to 1 if you have the `sbrk' function. */ 151 #define HAVE_SBRK 1 152 153 /* Define to 1 if you have the `setrlimit' function. */ 154 #define HAVE_SETRLIMIT 1 155 156 /* Define to 1 if you have the <signal.h> header file. */ 157 #define HAVE_SIGNAL_H 1 158 159 /* Define to 1 if you have the <stdint.h> header file. */ 160 #define HAVE_STDINT_H 1 161 162 /* Define to 1 if you have the `strerror' function. */ 163 #define HAVE_STRERROR 1 164 165 /* Define to 1 if you have the `strerror_r' function. */ 166 #if !defined(LLVM_ON_WIN32) 167 #define HAVE_STRERROR_R 1 168 #endif 169 170 /* Define to 1 if you have the `sysconf' function. */ 171 #undef HAVE_SYSCONF 172 173 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 174 */ 175 #define HAVE_SYS_DIR_H 1 176 177 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 178 #define HAVE_SYS_IOCTL_H 1 179 180 /* Define to 1 if you have the <sys/mman.h> header file. */ 181 #define HAVE_SYS_MMAN_H 182 183 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 184 */ 185 /* #undef HAVE_SYS_NDIR_H */ 186 187 /* Define to 1 if you have the <sys/param.h> header file. */ 188 #define HAVE_SYS_PARAM_H 1 189 190 /* Define to 1 if you have the <sys/resource.h> header file. */ 191 #define HAVE_SYS_RESOURCE_H 1 192 193 /* Define to 1 if you have the <sys/stat.h> header file. */ 194 #define HAVE_SYS_STAT_H 1 195 196 /* Define to 1 if you have the <sys/time.h> header file. */ 197 #if !defined(LLVM_ON_WIN32) 198 #define HAVE_SYS_TIME_H 1 199 #endif 200 201 /* Define to 1 if you have the <sys/uio.h> header file. */ 202 #if !defined(LLVM_ON_WIN32) 203 #define HAVE_SYS_UIO_H 1 204 #endif 205 206 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 207 #if !defined(LLVM_ON_WIN32) 208 #define HAVE_SYS_WAIT_H 1 209 #endif 210 211 /* Define if the setupterm() function is supported this platform. */ 212 #if !defined(LLVM_ON_WIN32) 213 #define HAVE_TERMINFO 1 214 #endif 215 216 /* Define to 1 if you have the <termios.h> header file. */ 217 #if !defined(LLVM_ON_WIN32) 218 #define HAVE_TERMIOS_H 1 219 #endif 220 221 /* Define to 1 if the system has the type `uint64_t'. */ 222 #define HAVE_UINT64_T 1 223 224 /* Define to 1 if you have the <unistd.h> header file. */ 225 #if !defined(LLVM_ON_WIN32) 226 #define HAVE_UNISTD_H 1 227 #endif 228 229 /* Define to 1 if the system has the type `u_int64_t'. */ 230 #define HAVE_U_INT64_T 1 231 232 /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ 233 /* #undef HAVE_VALGRIND_VALGRIND_H */ 234 235 /* Define to 1 if you have the `writev' function. */ 236 #if !defined(LLVM_ON_WIN32) 237 #define HAVE_WRITEV 1 238 #endif 239 240 /* Define if /dev/zero should be used when mapping RWX memory, or undefine if 241 its not necessary */ 242 #undef NEED_DEV_ZERO_FOR_MMAP 243 244 /* Define as the return type of signal handlers (`int' or `void'). */ 245 #define RETSIGTYPE void 246 247 #endif 248