mirror of
https://github.com/HEYAHONG/nuttx.git
synced 2025-05-08 07:42:03 +08:00

When CONFIG_LIBC_ARCH_ATOMIC is defined, the atomic_fetch_x interface conflicts with the atomic_fetch_x interface in libcxx. Therefore, it has been changed to a inline function. Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>