From fccd0e6b8314ecc95bde542fe7031bc881dac722 Mon Sep 17 00:00:00 2001 From: bernard Date: Sun, 3 Aug 2014 14:30:31 +0800 Subject: [PATCH] [libc] Use __SIZE_TYPE__ instead of rt_size_t in minilibc. --- components/libc/minilibc/sys/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/libc/minilibc/sys/types.h b/components/libc/minilibc/sys/types.h index 6d92d80826..a6860f2aee 100644 --- a/components/libc/minilibc/sys/types.h +++ b/components/libc/minilibc/sys/types.h @@ -4,7 +4,7 @@ #include typedef long off_t; -typedef rt_size_t size_t; +typedef __SIZE_TYPE__ size_t; typedef signed long ssize_t; /* Used for a count of bytes or an error indication. */ typedef rt_uint8_t u_char;