summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-10-17 22:27:26 +0800
committerbernard <[email protected]>2017-10-17 22:27:26 +0800
commit9b872706821a682617d592dd67bc11837191e446 (patch)
treeeeeff8945619ae56a9c93a7f040a1f443d01bc90
parent8a38307e2cce628017e9eb7153ae7a2430a3d9ef (diff)
[libc] Add intptr_t/uintptr_t in minilibc.
-rw-r--r--components/libc/compilers/minilibc/stdint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/minilibc/stdint.h b/components/libc/compilers/minilibc/stdint.h
index eaafb3d2a5..af7df16846 100644
--- a/components/libc/compilers/minilibc/stdint.h
+++ b/components/libc/compilers/minilibc/stdint.h
@@ -11,8 +11,8 @@ typedef rt_int32_t int32_t;
typedef rt_uint32_t uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
-typedef signed long intptr_t;
-typedef unsigned long uintptr_t;
+typedef signed long intptr_t;
+typedef unsigned long uintptr_t;
/*
* 7.18.2 Limits of specified-width integer types.