Browse Source

[libc] Use __SIZE_TYPE__ instead of rt_size_t in minilibc.

bernard 10 years ago
parent
commit
fccd0e6b83
1 changed files with 1 additions and 1 deletions
  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;