projects
/
mes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69073e1
)
mescc: Tinycc support: stdint.h: declare size_t.
author
Jan Nieuwenhuizen
<janneke@gnu.org>
Sun, 27 Aug 2017 09:29:07 +0000
(11:29 +0200)
committer
Jan Nieuwenhuizen
<janneke@gnu.org>
Sun, 27 Aug 2017 09:29:07 +0000
(11:29 +0200)
* mlibc/include/stdint.h (size_t)[!__MES_SIZE_T]: Declare.
mlibc/include/stdint.h
patch
|
blob
|
history
diff --git
a/mlibc/include/stdint.h
b/mlibc/include/stdint.h
index a182bf6536f93fc1adc471199bf7caf7c7d5c7d8..28f6b7442d5d1e971549f13e88ce7ca02b0b8c05 100644
(file)
--- a/
mlibc/include/stdint.h
+++ b/
mlibc/include/stdint.h
@@
-38,6
+38,11
@@
typedef int int32_t;
typedef unsigned long long uint64_t;
typedef long long int64_t;
+#ifndef __MES_SIZE_T
+#define __MES_SIZE_T
+typedef unsigned long size_t;
+#endif
+
// FIXME
typedef int intmax_t;
typedef unsigned uintmax_t;