summaryrefslogtreecommitdiff
path: root/faad2/src/common/mp4ff/mp4ff_int_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'faad2/src/common/mp4ff/mp4ff_int_types.h')
-rw-r--r--faad2/src/common/mp4ff/mp4ff_int_types.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/faad2/src/common/mp4ff/mp4ff_int_types.h b/faad2/src/common/mp4ff/mp4ff_int_types.h
new file mode 100644
index 0000000..3d3089c
--- /dev/null
+++ b/faad2/src/common/mp4ff/mp4ff_int_types.h
@@ -0,0 +1,27 @@
+#ifndef _MP4FF_INT_TYPES_H_
+#define _MP4FF_INT_TYPES_H_
+
+#if defined (_WIN32)
+
+#ifdef __MINGW32__
+#include <stdlib.h>
+#endif /* #ifdef __MINGW32__ */
+
+typedef signed char int8_t;
+typedef unsigned char uint8_t;
+typedef signed short int16_t;
+typedef unsigned short uint16_t;
+typedef signed long int32_t;
+typedef unsigned long uint32_t;
+
+typedef signed __int64 int64_t;
+typedef unsigned __int64 uint64_t;
+
+#else
+
+#include <stdint.h>
+
+#endif
+
+
+#endif