Skip to content

Commit bc0d714

Browse files
committed
Remove now-unneeded check for GCC CAS from extconf.rb
1 parent 7b7b3e2 commit bc0d714

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ext/concurrent_ruby_ext/extconf.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,6 @@ def compiler_is_gcc
4343
end
4444
end
4545

46-
try_run(<<CODE,$CFLAGS) && ($defs << '-DHAVE_GCC_CAS')
47-
int main() {
48-
int i = 1;
49-
__sync_bool_compare_and_swap(&i, 1, 4);
50-
return (i != 4);
51-
}
52-
CODE
53-
5446
create_makefile(EXTENSION_NAME)
5547
rescue
5648
create_dummy_makefile

0 commit comments

Comments
 (0)