aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp4ff/mp4ff_int_types.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mp4ff/mp4ff_int_types.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mp4ff/mp4ff_int_types.h b/src/mp4ff/mp4ff_int_types.h
new file mode 100644
index 000000000..8dbf7bc2e
--- /dev/null
+++ b/src/mp4ff/mp4ff_int_types.h
@@ -0,0 +1,23 @@
+#ifndef _MP4FF_INT_TYPES_H_
+#define _MP4FF_INT_TYPES_H_
+
+#ifdef _WIN32
+
+typedef char int8_t;
+typedef unsigned char uint8_t;
+typedef short int16_t;
+typedef unsigned short uint16_t;
+typedef long int32_t;
+typedef unsigned long uint32_t;
+
+typedef __int64 int64_t;
+typedef unsigned __int64 uint64_t;
+
+#else
+
+#include <stdint.h>
+
+#endif
+
+
+#endif