summaryrefslogtreecommitdiffstats
path: root/c/src/lib/include/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/include/stdint.h')
-rw-r--r--c/src/lib/include/stdint.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/c/src/lib/include/stdint.h b/c/src/lib/include/stdint.h
new file mode 100644
index 0000000000..dd2e490ef9
--- /dev/null
+++ b/c/src/lib/include/stdint.h
@@ -0,0 +1,30 @@
+/*
+ * stdint.h
+ *
+ * ISO C99 integer types
+ *
+ * $Id$
+ */
+
+#ifndef __STDINT_H
+#define __STDINT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef signed char int8_t;
+typedef short int int16_t;
+typedef int int32_t;
+typedef long int int64_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short int uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned long int uint64_t;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif