summaryrefslogtreecommitdiff
path: root/sys/include/ape/inttypes.h
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 16:47:56 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 16:47:56 +0300
commitc558a99e0be506a9abdf677f0ca4490644e05fc1 (patch)
tree17aef678ad05a32ef96ce8385703cb3fe089a5c7 /sys/include/ape/inttypes.h
parente5888a1ffdae813d7575f5fb02275c6bb07e5199 (diff)
Import sources from 2011-03-30 iso image - sys/include
Diffstat (limited to 'sys/include/ape/inttypes.h')
-rwxr-xr-xsys/include/ape/inttypes.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/include/ape/inttypes.h b/sys/include/ape/inttypes.h
new file mode 100755
index 000000000..55725d54a
--- /dev/null
+++ b/sys/include/ape/inttypes.h
@@ -0,0 +1,23 @@
+#ifndef _SUSV2_SOURCE
+#error "inttypes.h is SUSV2"
+#endif
+
+#ifndef _INTTYPES_H_
+#define _INTTYPES_H_ 1
+
+typedef int _intptr_t;
+typedef unsigned int _uintptr_t;
+
+
+typedef char int8_t;
+typedef short int16_t;
+typedef int int32_t;
+typedef long long int64_t;
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned long long uint64_t;
+typedef _intptr_t intptr_t;
+typedef _uintptr_t uintptr_t;
+
+#endif