mirror of
https://github.com/apple/swift-atomics
synced 2026-11-24 04:27:48 +00:00
Per #37, we currently happen to use some non-standard C atomics that only work in Clang; to prevent issues when this module gets compiled using other compilers, `#ifdef` out all the actual shims, leaving only the definitions for `retain_n`/`release_n`. (For example, CMake builds the shims module using the system C compiler by default, which is usually GCC on Linux.)