diff --git a/lib/ogg/.gitignore b/lib/ogg/.gitignore deleted file mode 100644 index 1f256634..00000000 --- a/lib/ogg/.gitignore +++ /dev/null @@ -1,50 +0,0 @@ -aclocal.m4 -autom4te.cache -ChangeLog -compile -config.guess -config.h -config.h.in -config.h.in~ -config.log -config.status -config.sub -configure -depcomp -install-sh -libogg.spec -libtool -ltmain.sh -Makefile -Makefile.in -missing -mkinstalldirs -ogg.pc -ogg-uninstalled.pc -stamp-h1 -.project -include/ogg/config_types.h -src/*.o -src/*.lo -src/lib*.la -src/.libs -src/.deps -src/test_* -macosx/build/ -/m4 - -CMakeCache.txt -CMakeFiles -CMakeScripts -Testing -Makefile -cmake_install.cmake -install_manifest.txt -compile_commands.json -CTestTestfile.cmake -CMakeSettings.json - -*[Bb]uild*/ - -.vs/ -.vscode/ 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 +#endif +#if INCLUDE_STDINT_H +# include +#endif +#if INCLUDE_SYS_TYPES_H +# include +#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