|
1 | 1 | #ifndef INCLUDE_RUBY_CONFIG_H
|
2 | 2 | #define INCLUDE_RUBY_CONFIG_H 1
|
3 | 3 | /* confdefs.h */
|
4 |
| -#define CANONICALIZATION_FOR_MATHN 1 |
5 | 4 | #define STDC_HEADERS 1
|
6 | 5 | #define HAVE_SYS_TYPES_H 1
|
7 | 6 | #define HAVE_SYS_STAT_H 1
|
|
17 | 16 | #define _GNU_SOURCE 1
|
18 | 17 | #define _POSIX_PTHREAD_SEMANTICS 1
|
19 | 18 | #define _TANDEM_SOURCE 1
|
20 |
| -#define HAVE_INFINITY 1 |
21 |
| -#define HAVE_NAN 1 |
22 | 19 | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
|
23 | 20 | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
|
| 21 | +#define HAVE_STMT_AND_DECL_IN_EXPR 1 |
| 22 | +#define BROKEN_CRYPT 1 |
24 | 23 | #define HAVE_CRT_EXTERNS_H 1
|
25 | 24 | #define HAVE_LIBDL 1
|
26 | 25 | #define HAVE_DIRENT_H 1
|
|
35 | 34 | #define HAVE_LOCALE_H 1
|
36 | 35 | #define HAVE_MALLOC_MALLOC_H 1
|
37 | 36 | #define HAVE_PWD_H 1
|
| 37 | +#define HAVE_SANITIZER_ASAN_INTERFACE_H 1 |
| 38 | +#define HAVE_SANITIZER_MSAN_INTERFACE_H 1 |
| 39 | +#define HAVE_STDALIGN_H 1 |
38 | 40 | #define HAVE_SYS_ATTR_H 1
|
39 | 41 | #define HAVE_SYS_FCNTL_H 1
|
40 | 42 | #define HAVE_SYS_FILE_H 1
|
|
43 | 45 | #define HAVE_SYS_RESOURCE_H 1
|
44 | 46 | #define HAVE_SYS_SELECT_H 1
|
45 | 47 | #define HAVE_SYS_SOCKET_H 1
|
46 |
| -#define HAVE_SYS_SYSCALL_H 1 |
47 | 48 | #define HAVE_SYS_TIME_H 1
|
48 | 49 | #define HAVE_SYS_TIMES_H 1
|
49 | 50 | #define HAVE_SYS_UIO_H 1
|
|
60 | 61 | #define SIZEOF_LONG 8
|
61 | 62 | #define SIZEOF_LONG_LONG 8
|
62 | 63 | #define SIZEOF___INT64 0
|
| 64 | +#define SIZEOF___INT128 16 |
63 | 65 | #define SIZEOF_OFF_T 8
|
64 | 66 | #define SIZEOF_VOIDP 8
|
65 | 67 | #define SIZEOF_FLOAT 4
|
66 | 68 | #define SIZEOF_DOUBLE 8
|
67 | 69 | #define SIZEOF_TIME_T 8
|
68 | 70 | #define SIZEOF_CLOCK_T 8
|
69 | 71 | #define PACKED_STRUCT(x) x __attribute__((packed))
|
70 |
| -#define PACKED_STRUCT_UNALIGNED(x) x |
| 72 | +#define USE_UNALIGNED_MEMBER_ACCESS 1 |
71 | 73 | #define PRI_LL_PREFIX "ll"
|
| 74 | +#define HAVE_PID_T 1 |
72 | 75 | #define rb_pid_t pid_t
|
73 | 76 | #define SIGNEDNESS_OF_PID_T -1
|
74 | 77 | #define PIDT2NUM(v) INT2NUM(v)
|
75 | 78 | #define NUM2PIDT(v) NUM2INT(v)
|
76 | 79 | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
|
| 80 | +#define HAVE_UID_T 1 |
77 | 81 | #define rb_uid_t uid_t
|
78 | 82 | #define SIGNEDNESS_OF_UID_T +1
|
79 | 83 | #define UIDT2NUM(v) UINT2NUM(v)
|
80 | 84 | #define NUM2UIDT(v) NUM2UINT(v)
|
81 | 85 | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
|
| 86 | +#define HAVE_GID_T 1 |
82 | 87 | #define rb_gid_t gid_t
|
83 | 88 | #define SIGNEDNESS_OF_GID_T +1
|
84 | 89 | #define GIDT2NUM(v) UINT2NUM(v)
|
85 | 90 | #define NUM2GIDT(v) NUM2UINT(v)
|
86 | 91 | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
|
| 92 | +#define HAVE_TIME_T 1 |
87 | 93 | #define rb_time_t time_t
|
88 | 94 | #define SIGNEDNESS_OF_TIME_T -1
|
89 | 95 | #define TIMET2NUM(v) LONG2NUM(v)
|
90 | 96 | #define NUM2TIMET(v) NUM2LONG(v)
|
91 | 97 | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
|
| 98 | +#define HAVE_DEV_T 1 |
92 | 99 | #define rb_dev_t dev_t
|
93 | 100 | #define SIGNEDNESS_OF_DEV_T -1
|
94 | 101 | #define DEVT2NUM(v) INT2NUM(v)
|
95 | 102 | #define NUM2DEVT(v) NUM2INT(v)
|
96 | 103 | #define PRI_DEVT_PREFIX PRI_INT_PREFIX
|
| 104 | +#define HAVE_MODE_T 1 |
97 | 105 | #define rb_mode_t mode_t
|
98 | 106 | #define SIGNEDNESS_OF_MODE_T +1
|
99 |
| -#define MODET2NUM(v) UINT2NUM(v) |
100 |
| -#define NUM2MODET(v) NUM2UINT(v) |
101 |
| -#define PRI_MODET_PREFIX PRI_INT_PREFIX |
| 107 | +#define MODET2NUM(v) USHORT2NUM(v) |
| 108 | +#define NUM2MODET(v) NUM2USHORT(v) |
| 109 | +#define PRI_MODET_PREFIX PRI_SHORT_PREFIX |
| 110 | +#define HAVE_RLIM_T 1 |
102 | 111 | #define rb_rlim_t rlim_t
|
103 | 112 | #define SIGNEDNESS_OF_RLIM_T +1
|
104 | 113 | #define RLIM2NUM(v) ULL2NUM(v)
|
105 | 114 | #define NUM2RLIM(v) NUM2ULL(v)
|
106 | 115 | #define PRI_RLIM_PREFIX PRI_LL_PREFIX
|
| 116 | +#define HAVE_OFF_T 1 |
107 | 117 | #define rb_off_t off_t
|
108 | 118 | #define SIGNEDNESS_OF_OFF_T -1
|
109 | 119 | #define OFFT2NUM(v) LL2NUM(v)
|
110 | 120 | #define NUM2OFFT(v) NUM2LL(v)
|
111 | 121 | #define PRI_OFFT_PREFIX PRI_LL_PREFIX
|
112 |
| -#define rb_clockid_t int |
113 |
| -#define SIGNEDNESS_OF_CLOCKID_T -1 |
114 |
| -#define CLOCKID2NUM(v) INT2NUM(v) |
115 |
| -#define NUM2CLOCKID(v) NUM2INT(v) |
| 122 | +#define HAVE_CLOCKID_T 1 |
| 123 | +#define rb_clockid_t clockid_t |
| 124 | +#define SIGNEDNESS_OF_CLOCKID_T +1 |
| 125 | +#define CLOCKID2NUM(v) UINT2NUM(v) |
| 126 | +#define NUM2CLOCKID(v) NUM2UINT(v) |
116 | 127 | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
|
117 | 128 | #define HAVE_PROTOTYPES 1
|
118 | 129 | #define TOKEN_PASTE(x,y) x##y
|
119 | 130 | #define STRINGIZE(expr) STRINGIZE0(expr)
|
120 | 131 | #define HAVE_STDARG_PROTOTYPES 1
|
121 | 132 | #define HAVE_VA_ARGS_MACRO 1
|
122 |
| -#define NORETURN(x) __attribute__ ((noreturn)) x |
123 |
| -#define DEPRECATED(x) __attribute__ ((deprecated)) x |
124 |
| -#define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x |
125 |
| -#define DEPRECATED_TYPE(mesg,x) x __attribute__ ((deprecated mesg)) |
126 |
| -#define NOINLINE(x) __attribute__ ((noinline)) x |
127 |
| -#define WEAK(x) __attribute__ ((weak)) x |
| 133 | +#define RUBY_ALIGNAS(x) __attribute__((__aligned__(x))) |
| 134 | +#define RUBY_ALIGNOF alignof |
| 135 | +#define CONSTFUNC(x) __attribute__ ((__const__)) x |
| 136 | +#define PUREFUNC(x) __attribute__ ((__pure__)) x |
| 137 | +#define NORETURN(x) __attribute__ ((__noreturn__)) x |
| 138 | +#define DEPRECATED(x) __attribute__ ((__deprecated__)) x |
| 139 | +#define DEPRECATED_BY(n,x) __attribute__ ((__deprecated__("by "#n))) x |
| 140 | +#define DEPRECATED_TYPE(mesg,x) x __attribute__ ((__deprecated__ mesg)) |
| 141 | +#define NOINLINE(x) __attribute__ ((__noinline__)) x |
| 142 | +#define ALWAYS_INLINE(x) __attribute__ ((__always_inline__)) x |
| 143 | +#define NO_SANITIZE(san, x) __attribute__ ((__no_sanitize__(san))) x |
| 144 | +#define NO_SANITIZE_ADDRESS(x) __attribute__ ((__no_sanitize_address__)) x |
| 145 | +#define NO_ADDRESS_SAFETY_ANALYSIS(x) __attribute__ ((__no_address_safety_analysis__)) x |
| 146 | +#define WARN_UNUSED_RESULT(x) __attribute__ ((__warn_unused_result__)) x |
| 147 | +#define MAYBE_UNUSED(x) __attribute__ ((__unused__)) x |
| 148 | +#define WEAK(x) __attribute__ ((__weak__)) x |
128 | 149 | #define HAVE_FUNC_WEAK 1
|
129 |
| -#define FUNC_CDECL(x) __attribute__ ((cdecl)) x |
| 150 | +#define FUNC_CDECL(x) __attribute__ ((__cdecl__)) x |
130 | 151 | #define HAVE_GCC_ATOMIC_BUILTINS 1
|
131 | 152 | #define HAVE_GCC_SYNC_BUILTINS 1
|
132 | 153 | #define UNREACHABLE __builtin_unreachable()
|
133 |
| -#define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern |
| 154 | +#define RUBY_FUNC_EXPORTED __attribute__ ((__visibility__("default"))) extern |
134 | 155 | #define RUBY_FUNCTION_NAME_STRING __func__
|
135 | 156 | #define ENUM_OVER_INT 1
|
136 | 157 | #define HAVE_DECL_SYS_NERR 1
|
|
173 | 194 | #define SIZEOF_INT64_T 8
|
174 | 195 | #define HAVE_UINT64_T 1
|
175 | 196 | #define SIZEOF_UINT64_T 8
|
| 197 | +#define HAVE_INT128_T 1 |
| 198 | +#define int128_t __int128 |
| 199 | +#define SIZEOF_INT128_T SIZEOF___INT128 |
| 200 | +#define HAVE_UINT128_T 1 |
| 201 | +#define uint128_t unsigned __int128 |
| 202 | +#define SIZEOF_UINT128_T SIZEOF___INT128 |
176 | 203 | #define HAVE_INTPTR_T 1
|
177 | 204 | #define SIZEOF_INTPTR_T 8
|
178 | 205 | #define HAVE_UINTPTR_T 1
|
179 | 206 | #define SIZEOF_UINTPTR_T 8
|
| 207 | +#define PRI_PTR_PREFIX "l" |
180 | 208 | #define HAVE_SSIZE_T 1
|
181 | 209 | #define SIZEOF_SSIZE_T 8
|
| 210 | +#define PRI_64_PREFIX "ll" |
182 | 211 | #define GETGROUPS_T gid_t
|
183 | 212 | #define RETSIGTYPE void
|
184 | 213 | #define HAVE_ALLOCA_H 1
|
|
196 | 225 | #define HAVE_ISNAN 1
|
197 | 226 | #define HAVE_LGAMMA_R 1
|
198 | 227 | #define HAVE_MEMMOVE 1
|
| 228 | +#define HAVE_NAN 1 |
199 | 229 | #define HAVE_NEXTAFTER 1
|
200 | 230 | #define HAVE_STRCHR 1
|
201 | 231 | #define HAVE_STRERROR 1
|
|
208 | 238 | #define HAVE_FORK 1
|
209 | 239 | #define vfork fork
|
210 | 240 | #define HAVE_WORKING_FORK 1
|
211 |
| -#define HAVE___SYSCALL 1 |
212 | 241 | #define HAVE__LONGJMP 1
|
| 242 | +#define HAVE_ARC4RANDOM_BUF 1 |
213 | 243 | #define HAVE_ATAN2L 1
|
214 | 244 | #define HAVE_ATAN2F 1
|
215 | 245 | #define HAVE_CHROOT 1
|
|
223 | 253 | #define HAVE_FCHMOD 1
|
224 | 254 | #define HAVE_FCHOWN 1
|
225 | 255 | #define HAVE_FCNTL 1
|
| 256 | +#define HAVE_FDOPENDIR 1 |
226 | 257 | #define HAVE_FGETATTRLIST 1
|
227 | 258 | #define HAVE_FMOD 1
|
| 259 | +#define HAVE_FSTATAT 1 |
228 | 260 | #define HAVE_FSYNC 1
|
229 | 261 | #define HAVE_FTRUNCATE 1
|
230 | 262 | #define HAVE_GETATTRLIST 1
|
|
240 | 272 | #define HAVE_GETSID 1
|
241 | 273 | #define HAVE_GETTIMEOFDAY 1
|
242 | 274 | #define HAVE_GMTIME_R 1
|
| 275 | +#define HAVE_GRANTPT 1 |
243 | 276 | #define HAVE_INITGROUPS 1
|
244 | 277 | #define HAVE_IOCTL 1
|
245 | 278 | #define HAVE_ISSETUGID 1
|
|
251 | 284 | #define HAVE_LOCKF 1
|
252 | 285 | #define HAVE_LOG2 1
|
253 | 286 | #define HAVE_LSTAT 1
|
| 287 | +#define HAVE_LUTIMES 1 |
254 | 288 | #define HAVE_MALLOC_SIZE 1
|
255 | 289 | #define HAVE_MBLEN 1
|
256 | 290 | #define HAVE_MEMSET_S 1
|
257 | 291 | #define HAVE_WRITEV 1
|
258 | 292 | #define HAVE_MKFIFO 1
|
259 | 293 | #define HAVE_MKNOD 1
|
260 | 294 | #define HAVE_MKTIME 1
|
| 295 | +#define HAVE_OPENAT 1 |
261 | 296 | #define HAVE_POLL 1
|
262 | 297 | #define HAVE_POSIX_MEMALIGN 1
|
263 | 298 | #define HAVE_PREAD 1
|
| 299 | +#define HAVE_PWRITE 1 |
264 | 300 | #define HAVE_QSORT_R 1
|
265 | 301 | #define HAVE_READLINK 1
|
266 | 302 | #define HAVE_ROUND 1
|
|
286 | 322 | #define HAVE_SIGPROCMASK 1
|
287 | 323 | #define HAVE_SINH 1
|
288 | 324 | #define HAVE_SYMLINK 1
|
289 |
| -#define HAVE_SYSCALL 1 |
290 | 325 | #define HAVE_SYSCONF 1
|
291 | 326 | #define HAVE_TANH 1
|
292 | 327 | #define HAVE_TELLDIR 1
|
293 | 328 | #define HAVE_TIMEGM 1
|
294 | 329 | #define HAVE_TIMES 1
|
295 | 330 | #define HAVE_TRUNCATE 1
|
296 | 331 | #define HAVE_UNSETENV 1
|
| 332 | +#define HAVE_UTIMENSAT 1 |
297 | 333 | #define HAVE_UTIMES 1
|
298 | 334 | #define HAVE_WAIT4 1
|
299 | 335 | #define HAVE_WAITPID 1
|
300 | 336 | #if !defined __STDC_WANT_LIB_EXT1__
|
301 | 337 | #define __STDC_WANT_LIB_EXT1__ 1
|
302 | 338 | #endif /* !defined __STDC_WANT_LIB_EXT1__ */
|
| 339 | +#define HAVE_BUILTIN___BUILTIN_ALLOCA_WITH_ALIGN 1 |
| 340 | +#define HAVE_BUILTIN___BUILTIN_ASSUME_ALIGNED 1 |
303 | 341 | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
|
304 | 342 | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
|
305 | 343 | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
|
| 344 | +#define HAVE_BUILTIN___BUILTIN_POPCOUNT 1 |
| 345 | +#define HAVE_BUILTIN___BUILTIN_POPCOUNTLL 1 |
306 | 346 | #define HAVE_BUILTIN___BUILTIN_CLZ 1
|
307 | 347 | #define HAVE_BUILTIN___BUILTIN_CLZL 1
|
308 | 348 | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
|
| 349 | +#define HAVE_BUILTIN___BUILTIN_CTZ 1 |
| 350 | +#define HAVE_BUILTIN___BUILTIN_CTZLL 1 |
| 351 | +#define HAVE_BUILTIN___BUILTIN_ADD_OVERFLOW 1 |
| 352 | +#define HAVE_BUILTIN___BUILTIN_SUB_OVERFLOW 1 |
| 353 | +#define HAVE_BUILTIN___BUILTIN_MUL_OVERFLOW 1 |
| 354 | +#define HAVE_BUILTIN___BUILTIN_CONSTANT_P 1 |
309 | 355 | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
|
310 | 356 | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
|
311 | 357 | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
|
| 358 | +#define HAVE_BUILTIN___BUILTIN_TRAP 1 |
312 | 359 | #define HAVE_BSD_QSORT_R 1
|
313 | 360 | #define ATAN2_INF_C99 1
|
314 |
| -#define LGAMMA_R_M0_FIX 1 |
315 | 361 | #define HAVE_CLOCK_GETRES 1
|
316 | 362 | #define HAVE_STRUCT_TM_TM_ZONE 1
|
317 | 363 | #define HAVE_TM_ZONE 1
|
318 | 364 | #define HAVE_STRUCT_TM_TM_GMTOFF 1
|
319 | 365 | #define HAVE_DAYLIGHT 1
|
320 |
| -#define HAVE_VAR_TIMEZONE 1 |
321 |
| -#define TYPEOF_VAR_TIMEZONE long |
322 |
| -#define HAVE_TIMEZONE 1 |
323 |
| -#define TIMEZONE_VOID 1 |
324 | 366 | #define NEGATIVE_TIME_T 1
|
325 | 367 | #define POSIX_SIGNAL 1
|
| 368 | +#define HAVE_SIG_T 1 |
326 | 369 | #define RSHIFT(x,y) ((x)>>(int)(y))
|
327 | 370 | #define HAVE__SC_CLK_TCK 1
|
328 | 371 | #define STACK_GROW_DIRECTION -1
|
| 372 | +#define FIBER_USE_COROUTINE "coroutine/amd64/Context.h" |
329 | 373 | #define _REENTRANT 1
|
330 | 374 | #define _THREAD_SAFE 1
|
331 | 375 | #define HAVE_LIBPTHREAD 1
|
332 | 376 | #define HAVE_SCHED_YIELD 1
|
333 | 377 | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
|
334 | 378 | #define HAVE_PTHREAD_ATTR_GETSTACK 1
|
| 379 | +#define HAVE_PTHREAD_ATTR_GETGUARDSIZE 1 |
335 | 380 | #define HAVE_PTHREAD_GET_STACKADDR_NP 1
|
336 | 381 | #define HAVE_PTHREAD_GET_STACKSIZE_NP 1
|
337 |
| -#define HAVE_PTHREAD_COND_INIT 1 |
338 |
| -#define HAVE_PTHREAD_CONDATTR_INIT 1 |
339 | 382 | #define HAVE_PTHREAD_SIGMASK 1
|
340 | 383 | #define HAVE_PTHREAD_SETNAME_NP 1
|
341 |
| -#define HAVE_PTHREAD_ATTR_INIT 1 |
342 | 384 | #define SET_CURRENT_THREAD_NAME(name) pthread_setname_np(name)
|
343 | 385 | #define DEFINE_MCONTEXT_PTR(mc, uc) mcontext_t mc = (uc)->uc_mcontext
|
| 386 | +#define HAVE_MACH_O_LOADER_H 1 |
344 | 387 | #define HAVE_EXECINFO_H 1
|
345 | 388 | #define HAVE_LIBUNWIND_H 1
|
346 | 389 | #define HAVE_BACKTRACE 1
|
347 | 390 | #define BROKEN_BACKTRACE 1
|
348 | 391 | #define DLEXT_MAXLEN 7
|
349 | 392 | #define DLEXT ".bundle"
|
| 393 | +#define HAVE__SETJMP 1 |
| 394 | +#define HAVE_SIGSETJMP 1 |
350 | 395 | #define RUBY_SETJMP(env) sigsetjmp((env),0)
|
351 | 396 | #define RUBY_LONGJMP(env,val) siglongjmp((env),val)
|
352 | 397 | #define RUBY_JMP_BUF sigjmp_buf
|
| 398 | +#define USE_MJIT 1 |
353 | 399 | #define HAVE_PTHREAD_H 1
|
354 |
| -#define RUBY_PLATFORM "x86_64-darwin16" |
| 400 | +#define RUBY_PLATFORM "x86_64-darwin18" |
355 | 401 | #endif /* INCLUDE_RUBY_CONFIG_H */
|
0 commit comments