4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-08 16:31:10 +08:00

[include] using signed atomic types

This commit is contained in:
Shell 2024-04-12 06:48:54 +08:00 committed by Meco Man
parent 2d69eb7c7a
commit bb34ce64e0

View File

@ -85,7 +85,7 @@ typedef rt_base_t rt_atomic_t;
typedef rt_base_t rt_atomic_t;
#elif defined(RT_USING_STDC_ATOMIC)
#include <stdatomic.h>
typedef atomic_size_t rt_atomic_t;
typedef atomic_intptr_t rt_atomic_t;
#else
typedef rt_base_t rt_atomic_t;
#endif /* RT_USING_STDC_ATOMIC */