diff options
| author | bernard <[email protected]> | 2014-08-03 14:30:31 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2014-08-03 14:30:31 +0800 |
| commit | fccd0e6b8314ecc95bde542fe7031bc881dac722 (patch) | |
| tree | b1167c29ab67c0d4af80c238110572398352f736 /components | |
| parent | 5397e18c56d533a1475968cbd9eae8fbc398260f (diff) | |
[libc] Use __SIZE_TYPE__ instead of rt_size_t in minilibc.
Diffstat (limited to 'components')
| -rw-r--r-- | components/libc/minilibc/sys/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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; |
