Skip to content

Commit fccd0e6

Browse files
committed
[libc] Use __SIZE_TYPE__ instead of rt_size_t in minilibc.
1 parent 5397e18 commit fccd0e6

File tree

1 file changed

+1
-1
lines changed
  • components/libc/minilibc/sys

1 file changed

+1
-1
lines changed

components/libc/minilibc/sys/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <rtthread.h>
55

66
typedef long off_t;
7-
typedef rt_size_t size_t;
7+
typedef __SIZE_TYPE__ size_t;
88
typedef signed long ssize_t; /* Used for a count of bytes or an error indication. */
99

1010
typedef rt_uint8_t u_char;

0 commit comments

Comments
 (0)