aboutsummaryrefslogtreecommitdiff
path: root/mp4ff/mp4ff_int_types.h
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-26 03:13:23 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-26 03:13:23 +0000
commit95293aadcdddba18fb26e20e1ae09825cb4167a3 (patch)
tree39594cbcfa5f6575b5cab3e11902a5b920367f85 /mp4ff/mp4ff_int_types.h
parentb926dd100b89baa23cb62d24c56c4a1f793ac55e (diff)
Now commit the actual dir
git-svn-id: https://svn.musicpd.org/mpd/trunk@4463 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'mp4ff/mp4ff_int_types.h')
-rw-r--r--mp4ff/mp4ff_int_types.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/mp4ff/mp4ff_int_types.h b/mp4ff/mp4ff_int_types.h
new file mode 100644
index 00000000..2da8fee6
--- /dev/null
+++ b/mp4ff/mp4ff_int_types.h
@@ -0,0 +1,32 @@
+#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 "config.h"
+
+#if defined(HAVE_STDINT_H)
+#include <stdint.h>
+#elif defined(HAVE_INTTYPES_H)
+#include <inttypes.h>
+#elif defined(HAVE_SYS_INTTYPES_H)
+#include <sys/inttypes.h>
+#elif defined(HAVE_SYS_TYPES_H)
+#include <sys/types.h>
+#endif
+
+#endif
+
+#endif