aboutsummaryrefslogtreecommitdiff
path: root/src/mp4ff/mp4ff_int_types.h
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-26 03:19:14 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-26 03:19:14 +0000
commit1bddcb6f92b8460cf4b80343162ca66080a5dbc0 (patch)
tree7665cf148a9cd0e4451565d27bc782b7223d8476 /src/mp4ff/mp4ff_int_types.h
parenta570f8d9a910750cce231ed60491e21460d82b5e (diff)
Try to add the directory, again
git-svn-id: https://svn.musicpd.org/mpd/trunk@4466 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/mp4ff/mp4ff_int_types.h')
-rw-r--r--src/mp4ff/mp4ff_int_types.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mp4ff/mp4ff_int_types.h b/src/mp4ff/mp4ff_int_types.h
new file mode 100644
index 00000000..2da8fee6
--- /dev/null
+++ b/src/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