summaryrefslogtreecommitdiffstats
path: root/DOCS/inttypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'DOCS/inttypes.h')
-rw-r--r--DOCS/inttypes.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/DOCS/inttypes.h b/DOCS/inttypes.h
new file mode 100644
index 0000000000..b1e93879e4
--- /dev/null
+++ b/DOCS/inttypes.h
@@ -0,0 +1,13 @@
+
+// fallback if the user doesn't have inttypes.h (libc5 systems)
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned long uint32_t;
+typedef unsigned long long uint64_t;
+
+typedef signed char int8_t;
+typedef signed short int16_t;
+typedef signed long int32_t;
+typedef signed long long int64_t;
+