]> git.tdb.fi Git - ext/ogg.git/blobdiff - include/ogg/config_types.h
Add MSP build files
[ext/ogg.git] / include / ogg / config_types.h
diff --git a/include/ogg/config_types.h b/include/ogg/config_types.h
new file mode 100644 (file)
index 0000000..01e24f6
--- /dev/null
@@ -0,0 +1,27 @@
+
+#ifndef __CONFIG_TYPES_H__
+#define __CONFIG_TYPES_H__
+
+/* manually configured for MSP build system */
+#undef INCLUDE_INTTYPES_H
+#define INCLUDE_STDINT_H 1
+#undef INCLUDE_SYS_TYPES_H
+
+#if INCLUDE_INTTYPES_H
+#  include <inttypes.h>
+#endif
+#if INCLUDE_STDINT_H
+#  include <stdint.h>
+#endif
+#if INCLUDE_SYS_TYPES_H
+#  include <sys/types.h>
+#endif
+
+typedef int16_t ogg_int16_t;
+typedef uint16_t ogg_uint16_t;
+typedef int32_t ogg_int32_t;
+typedef uint32_t ogg_uint32_t;
+typedef int64_t ogg_int64_t;
+typedef uint64_t ogg_uint64_t;
+
+#endif