summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2020-04-10 15:34:52 +0200
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-11 11:19:50 +0900
commitabe2e7de4d1f2d5861d7c9ab9c7e778f2ee1dcd2 (patch)
tree2bf6cc2fef8da2a2f67f523abb465289e6df2db6 /enumerator.c
parent6f28ebd585fba1aff1c9591ced08ed11b68ba9e3 (diff)
downloadruby-abe2e7de4d1f2d5861d7c9ab9c7e778f2ee1dcd2.tar.gz
Don't require sub-word atomics
On some architectures (like RISC-V) sub-word atomics are only available when linking against -latomic, but the configure script doesn't do that, causing the atomic checks to fail and the resulting ruby binary is non-functional. Ruby does not use sub-word atomic operations, rb_atomic_t is defined to unsigned int, so use unsigned int when checking for atomic operations.
Diffstat (limited to 'enumerator.c')
0 files changed, 0 insertions, 0 deletions