소스 검색

[include] using signed atomic types

Shell 1 년 전
부모
커밋
bb34ce64e0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/rttypes.h

+ 1 - 1
include/rttypes.h

@@ -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 */