Explorar o código

[libc] Use __SIZE_TYPE__ instead of rt_size_t in minilibc.

bernard %!s(int64=11) %!d(string=hai) anos
pai
achega
fccd0e6b83
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;