Project

General

Profile

Bug #7485 ยป configure.in.mingw32_gcc_builtins.patch

drbrain (Eric Hodel), 12/01/2012 07:38 AM

View differences:

configure.in (working copy)
__sync_lock_test_and_set(&atomic_var, 1);
__sync_fetch_and_add(&atomic_var, 1);
__sync_fetch_and_sub(&atomic_var, 1);
__sync_or_and_fetch(&atomic_var, 1);
__sync_val_compare_and_swap(&atomic_var, 1, 1);
],
[rb_cv_gcc_atomic_builtins=yes],
[rb_cv_gcc_atomic_builtins=no])])
    (1-1/1)