summaryrefslogtreecommitdiffhomepage
path: root/include/ogg/config_types.h.in
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-09-29 22:52:15 +0200
committerAki <please@ignore.pl>2021-09-29 22:52:15 +0200
commit8f3471999e929bb99116fac52b94d572c42ba15e (patch)
tree44b482bc682cd6f58d9263af7ed88c03f400fb15 /include/ogg/config_types.h.in
downloadstarshatter-8f3471999e929bb99116fac52b94d572c42ba15e.zip
starshatter-8f3471999e929bb99116fac52b94d572c42ba15e.tar.gz
starshatter-8f3471999e929bb99116fac52b94d572c42ba15e.tar.bz2
Squashed 'ogg/' content from commit 4380566a4
git-subtree-dir: ogg git-subtree-split: 4380566a44b8d5e85ad511c9c17eb04197863ec5
Diffstat (limited to 'include/ogg/config_types.h.in')
-rw-r--r--include/ogg/config_types.h.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/ogg/config_types.h.in b/include/ogg/config_types.h.in
new file mode 100644
index 0000000..750e29d
--- /dev/null
+++ b/include/ogg/config_types.h.in
@@ -0,0 +1,25 @@
+#ifndef __CONFIG_TYPES_H__
+#define __CONFIG_TYPES_H__
+
+/* these are filled in by configure */
+#define INCLUDE_INTTYPES_H @INCLUDE_INTTYPES_H@
+#define INCLUDE_STDINT_H @INCLUDE_STDINT_H@
+#define INCLUDE_SYS_TYPES_H @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 @SIZE16@ ogg_int16_t;
+typedef @USIZE16@ ogg_uint16_t;
+typedef @SIZE32@ ogg_int32_t;
+typedef @USIZE32@ ogg_uint32_t;
+typedef @SIZE64@ ogg_int64_t;
+
+#endif