浏览代码

[libc] Use __SIZE_TYPE__ instead of rt_size_t in minilibc.

bernard 10 年之前
父节点
当前提交
fccd0e6b83
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/libc/minilibc/sys/types.h

+ 1 - 1
components/libc/minilibc/sys/types.h

@@ -4,7 +4,7 @@
 #include <rtthread.h>
 
 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;