mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
netbsd coroutine uses assembly instead and little build fix.
This commit is contained in:
parent
d9f084ed14
commit
8d2af51a78
Notes:
git
2021-08-24 10:52:24 +09:00
2 changed files with 10 additions and 1 deletions
|
@ -2545,6 +2545,15 @@ AS_CASE([$coroutine_type], [yes|''], [
|
|||
[aarch64-freebsd*], [
|
||||
coroutine_type=arm64
|
||||
],
|
||||
[x86_64-netbsd*], [
|
||||
coroutine_type=amd64
|
||||
],
|
||||
[i386-netbsd*], [
|
||||
coroutine_type=x86
|
||||
],
|
||||
[aarch64-netbsd*], [
|
||||
coroutine_type=arm64
|
||||
],
|
||||
[x86_64-openbsd*], [
|
||||
coroutine_type=amd64
|
||||
],
|
||||
|
|
2
random.c
2
random.c
|
@ -44,7 +44,7 @@
|
|||
# include <wincrypt.h>
|
||||
#endif
|
||||
|
||||
#if defined(__OpenBSD__) || defined(__FreeBSD__)
|
||||
#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
/* to define OpenBSD and FreeBSD for version check */
|
||||
# include <sys/param.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue