summaryrefslogtreecommitdiff
path: root/lib/ogg/include
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-08-18 16:05:06 +1000
committerjacqueline <me@jacqueline.id.au>2023-08-18 16:05:06 +1000
commit51cb168f79d19eed6083cb5ced3e9f3d97c16746 (patch)
tree7438db297164de05e19b4a4c60a3d2e659f9834b /lib/ogg/include
parentcad70605401e8fa30811e8c68a0cc5c014438942 (diff)
downloadtangara-fw-51cb168f79d19eed6083cb5ced3e9f3d97c16746.tar.gz
sorry daniel
Diffstat (limited to 'lib/ogg/include')
-rw-r--r--lib/ogg/include/ogg/config_types.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/ogg/include/ogg/config_types.h b/lib/ogg/include/ogg/config_types.h
new file mode 100644
index 00000000..1a87df64
--- /dev/null
+++ b/lib/ogg/include/ogg/config_types.h
@@ -0,0 +1,26 @@
+#ifndef __CONFIG_TYPES_H__
+#define __CONFIG_TYPES_H__
+
+/* these are filled in by configure or cmake*/
+#define INCLUDE_INTTYPES_H 1
+#define INCLUDE_STDINT_H 1
+#define INCLUDE_SYS_TYPES_H 1
+
+#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