summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-12-29 13:38:56 +0800
committerGitHub <[email protected]>2018-12-29 13:38:56 +0800
commitaf33226fab71a6a93e88ce1372509d6667ccd4af (patch)
treea066d99a5dc6c9223d84b30df6a2649d377437d5 /components
parentb7e2cd0eb3afee99601633964bb63f6db3e4cdf9 (diff)
parent77623e8119e9b4634fc26443af4623856b25804c (diff)
Merge pull request #2135 from armink/lts-v3.1.x
Sync the code to v3.1.2
Diffstat (limited to 'components')
-rw-r--r--components/net/lwip-1.4.1/src/arch/include/arch/cc.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/components/net/lwip-1.4.1/src/arch/include/arch/cc.h b/components/net/lwip-1.4.1/src/arch/include/arch/cc.h
index 3889ec9577..e0ad8cf588 100644
--- a/components/net/lwip-1.4.1/src/arch/include/arch/cc.h
+++ b/components/net/lwip-1.4.1/src/arch/include/arch/cc.h
@@ -38,13 +38,14 @@
#include <rthw.h>
#include <rtthread.h>
-typedef rt_uint8_t u8_t;
-typedef rt_int8_t s8_t;
-typedef rt_uint16_t u16_t;
-typedef rt_int16_t s16_t;
-typedef rt_uint32_t u32_t;
-typedef rt_int32_t s32_t;
-typedef rt_uint32_t mem_ptr_t;
+#include <stdint.h>
+typedef uint8_t u8_t;
+typedef int8_t s8_t;
+typedef uint16_t u16_t;
+typedef int16_t s16_t;
+typedef uint32_t u32_t;
+typedef int32_t s32_t;
+typedef uintptr_t mem_ptr_t;
#define U16_F "hu"
#define S16_F "hd"